Clarification on the truncate optimization

This commit is contained in:
Gwendal Roué committed 2023-03-16 18:44:46 +01:00
1 parent 6d392f0a87
commit 378c6785ea
1 file changed
+1 -1
+1 -1
View File
@@ -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