Mention explicitly-indexed variables

This commit is contained in:
Simon Binder 2021-01-21 20:22:05 +01:00
parent 362b61a178
commit 7c26ed97c2
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
1 changed files with 3 additions and 0 deletions

View File

@ -108,6 +108,9 @@ Stream<int> amountOfTodosInCategory(int id) {
}
```
Of course, you can also use indexed variables (like `?12`) - for more information on them, see
[the sqlite3 documentation](https://sqlite.org/lang_expr.html#varparam).
## Custom update statements
For update and delete statements, you can use `customUpdate`. Just like `customSelect`, that method
also takes a sql statement and optional variables. You can also tell moor which tables will be