add description for named_parameters_always_required

This commit is contained in:
PiN73 2021-06-04 00:25:53 +03:00 committed by GitHub
parent 676fc3bb1c
commit 0d1cf81e04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -72,6 +72,7 @@ At the moment, moor supports these options:
columns back to null (by using `Value(null)`). Passing `null` was ignored before, making it impossible to set columns
to `null`.
* `named_parameters`: Generates named parameters for named variables in SQL queries.
* `named_parameters_always_required`: All named parameters (generated if `named_parameters` option is `true`) will be required in Dart.
* `new_sql_code_generation`: Generates SQL statements from the parsed AST instead of replacing substrings. This will also remove
unecessary whitespace and comments.
If enabling this option breaks your queries, please file an issue!
@ -209,4 +210,4 @@ and use the non-shared generator instead.
Finally, we need to the build system to run moor first, and all the other builders otherwise. This is
why we split the builders up into multiple targets. The first target will only run moor, the second
target has a dependency on the first one and will run all the other builders.
target has a dependency on the first one and will run all the other builders.