Merge pull request #238 from Aarblon/patch-1

Fix typo: now to know
This commit is contained in:
Simon Binder 2019-11-15 14:11:29 +01:00 committed by GitHub
commit 6bc1686737
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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.