Skip to content

Commit d7bb11b

Browse files
authored
Fix triggers documentation typo (#236)
1 parent f035565 commit d7bb11b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/StructuredQueriesSQLiteCore/Triggers.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public struct TemporaryTrigger<On: Table>: Sendable, Statement {
185185
/// - dateFunction: A database function that returns the current datetime, _e.g._,
186186
/// `#sql("datetime('subsec'))"`.
187187
/// - condition: A predicate that must be satisfied to perform the given statement.
188-
/// - Returns: An `UPDATE` trigger operation.
188+
/// - Returns: An `INSERT` trigger operation.
189189
@_disfavoredOverload
190190
public static func insert<D: _OptionalPromotable<Date?>>(
191191
touch dateColumn: KeyPath<On.TableColumns, TableColumn<On, D>>,

0 commit comments

Comments
 (0)