mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-29 04:24:21 +00:00
Clarification on the truncate optimization
This commit is contained in:
1 parent
6d392f0a87
commit
378c6785ea
1 file changed
+1
-1
@@ -761,7 +761,7 @@ public protocol TransactionObserver: AnyObject {
|
||||
/// When this method returns true for deletion events, the observer
|
||||
/// prevents the
|
||||
/// [truncate optimization](https://www.sqlite.org/lang_delete.html#the_truncate_optimization)
|
||||
/// from being applied.
|
||||
/// from being applied on the observed tables.
|
||||
func observes(eventsOfKind eventKind: DatabaseEventKind) -> Bool
|
||||
|
||||
/// Called when the database is changed by an insert, update, or
|
||||
|
||||
Reference in new issue
Block a user