From 378c6785eac6c2bb674e1def66293b1f8511f69f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Thu, 16 Mar 2023 18:44:38 +0100 Subject: [PATCH] Clarification on the truncate optimization --- GRDB/Core/TransactionObserver.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GRDB/Core/TransactionObserver.swift b/GRDB/Core/TransactionObserver.swift index ad0af7728..7f2cf179c 100644 --- a/GRDB/Core/TransactionObserver.swift +++ b/GRDB/Core/TransactionObserver.swift @@ -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