Merge pull request #980 from cervonwong/patch-7

Update writing_queries.md to fix grammar
This commit is contained in:
Simon Binder 2020-12-20 12:47:15 +01:00 committed by GitHub
commit 8dffd4fe96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -119,7 +119,7 @@ Future update(Todo entry) {
// using replace will update all fields from the entry that are not marked as a primary key.
// it will also make sure that only the entry with the same primary key will be updated.
// Here, this means that the row that has the same id as entry will be updated to reflect
// the entry's title, content and category. As it set's its where clause automatically, it
// the entry's title, content and category. As its where clause is set automatically, it
// cannot be used together with where.
return update(todos).replace(entry);
}