Documentation

This commit is contained in:
Gwendal Roué committed 2017-08-19 11:42:45 +02:00
1 parent a3cddb72b9
commit 99ba6db257
1 file changed
+2
+2
View File
@@ -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