mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-26 04:07:50 +00:00
Documentation
This commit is contained in:
1 parent
7a0895f872
commit
aaf4deee2c
2 files changed
+3
-2
No files matched your search
@@ -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,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)
|
||||
|
||||
Reference in new issue
Block a user