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
a3cddb72b9
commit
99ba6db257
1 file changed
+2
@@ -3394,6 +3394,8 @@ let request = Player.filter(emailColumn == nil)
|
||||
try request.deleteAll(db)
|
||||
```
|
||||
|
||||
> :point_up: **Note** Deletion methods are only available for records that adopts the [Persistable](#persistable-protocol) protocol.
|
||||
|
||||
**Deleting records according to their primary key** is also quite common. It has a shortcut which accepts any single-column primary key:
|
||||
|
||||
```swift
|
||||
|
||||
Reference in new issue
Block a user