Documentation

This commit is contained in:
Gwendal Roué committed 2016-09-17 06:30:44 +02:00
1 parent 7a0895f872
commit aaf4deee2c
2 files changed
+3 -2

No files matched your search

+2 -2
View File
@@ -1704,10 +1704,10 @@ try Person.deleteOne(db, key: ["email": "arthur@example.com"])
try Country.deleteAll(db, keys: ["FR", "US"])
```
Other deletions require an [SQL query](#executing-updates):
For batch deletes, see the [query interface](#the-query-interface):
```swift
try db.execute("DELETE FROM persons")
try Person.filter(emailColumn == nil).deleteAll(db)
```
+1
View File
@@ -1,3 +1,4 @@
- [ ] Try TableMappingType.deleteAll(db)
- [ ] Remove DatabaseWriter.writeForIssue117 when https://bugs.swift.org/browse/SR-2623 is fixed (remove `writeForIssue117`, use `write` instead, and build in Release configuration)
- [ ] Restore SQLCipher
- [ ] Restore dispatching tests in GRDBOSXTests (they are disabled in order to avoid linker errors)