We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95c2598 commit e29ecccCopy full SHA for e29eccc
Sources/StructuredQueriesCore/Triggers.swift
@@ -296,7 +296,7 @@ public struct TemporaryTrigger<On: Table>: Statement {
296
///
297
/// - Parameter ifExists: Adds an `IF EXISTS` condition to the `DROP TRIGGER`.
298
/// - Returns: A `DROP TRIGGER` statement for this trigger.
299
- public func drop(ifExists: Bool = false) -> some Statement {
+ public func drop(ifExists: Bool = false) -> some Statement<()> {
300
var query: QueryFragment = "DROP TRIGGER"
301
if ifExists {
302
query.append(" IF EXISTS")
0 commit comments