mirror of https://github.com/AMT-Cheif/drift.git
Fix typo: now to know
While reading through the documentation, I noticed this typo where you meant to use the word `know` instead of `now`.
This commit is contained in:
parent
067212e66c
commit
522a1ced91
|
@ -58,7 +58,7 @@ You can also reverse the order by setting the `mode` property of the `OrderingTe
|
|||
`OrderingMode.desc`.
|
||||
|
||||
### Single values
|
||||
If you now a query is never going to return more than one row, wrapping the result in a `List`
|
||||
If you know a query is never going to return more than one row, wrapping the result in a `List`
|
||||
can be tedious. Moor lets you work around that with `getSingle` and `watchSingle`:
|
||||
```dart
|
||||
Stream<TodoEntry> entryById(int id) {
|
||||
|
@ -142,4 +142,4 @@ can be omitted. All other fields must be set and non-null. The `insert` method w
|
|||
otherwise.
|
||||
|
||||
Multiple inserts can be batched by using `insertAll` - it takes a list of companions instead
|
||||
of a single companion.
|
||||
of a single companion.
|
||||
|
|
Loading…
Reference in New Issue