You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public init(_ body: @escaping (Int, Int) -> Swift.Void) {
1003
+
self.body = body
1004
+
}
1005
+
public func callAsFunction(
1006
+
_ x: some StructuredQueriesCore.QueryExpression<Int>,
1007
+
_ y: some StructuredQueriesCore.QueryExpression<Int>
1008
+
) -> some StructuredQueriesCore.QueryExpression<Swift.Void> {
1009
+
StructuredQueriesCore.SQLQueryExpression(
1010
+
"\(quote: self.name)(\(x), \(y))"
1011
+
)
1012
+
}
1013
+
public func invoke(
1014
+
_ arguments: [StructuredQueriesCore.QueryBinding]
1015
+
) -> StructuredQueriesCore.QueryBinding {
1016
+
guard self.argumentCount == nil || self.argumentCount == arguments.count, let x = Int(queryBinding: arguments[0]), let y = Int(queryBinding: arguments[1]) else {
public init(_ body: @escaping (Int, Int) -> Swift.Void) {
1058
+
self.body = body
1059
+
}
1060
+
public func callAsFunction(
1061
+
x: some StructuredQueriesCore.QueryExpression<Int>,
1062
+
y: some StructuredQueriesCore.QueryExpression<Int>
1063
+
) -> some StructuredQueriesCore.QueryExpression<Swift.Void> {
1064
+
StructuredQueriesCore.SQLQueryExpression(
1065
+
"\(quote: self.name)(\(x), \(y))"
1066
+
)
1067
+
}
1068
+
public func invoke(
1069
+
_ arguments: [StructuredQueriesCore.QueryBinding]
1070
+
) -> StructuredQueriesCore.QueryBinding {
1071
+
guard self.argumentCount == nil || self.argumentCount == arguments.count, let x = Int(queryBinding: arguments[0]), let y = Int(queryBinding: arguments[1]) else {
0 commit comments