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 ec9a634 commit 64f8471Copy full SHA for 64f8471
Sources/StructuredQueriesCore/QueryFragment.swift
@@ -69,7 +69,7 @@ public struct QueryFragment: Hashable, Sendable {
69
case .sql(let sql):
70
$0.sql.append(sql)
71
case .binding(let binding):
72
- $0.sql.append(template($1.offset + 1))
+ $0.sql.append(template($0.bindings.count + 1))
73
$0.bindings.append(binding)
74
}
75
0 commit comments