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 columns back to null (by using `Value(null)`). Passing `null` was ignored before, making it impossible to set columns
to `null`. to `null`.
* `named_parameters`: Generates named parameters for named variables in SQL queries. * `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 * `new_sql_code_generation`: Generates SQL statements from the parsed AST instead of replacing substrings. This will also remove
unecessary whitespace and comments. unecessary whitespace and comments.
If enabling this option breaks your queries, please file an issue! If enabling this option breaks your queries, please file an issue!