mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-26 04:07:50 +00:00
func === (lhs: SQLExpressible?, rhs: SQLCollatedExpression) bugfix
This commit is contained in:
1 parent
f5c63e0997
commit
cc12c046b9
1 file changed
+1
-1
@@ -257,7 +257,7 @@ public func === (lhs: SQLExpressible?, rhs: SQLSpecificExpressible) -> SQLExpres
|
||||
/// // name IS 'Arthur' COLLATE NOCASE
|
||||
/// "Arthur" === Column("name").collating(.nocase)
|
||||
public func === (lhs: SQLExpressible?, rhs: SQLCollatedExpression) -> SQLExpression {
|
||||
return SQLExpressionCollate(lhs == rhs.expression, collationName: rhs.collationName)
|
||||
return SQLExpressionCollate(lhs === rhs.expression, collationName: rhs.collationName)
|
||||
}
|
||||
|
||||
/// An SQL expression that compares two expressions with the `IS` SQL operator.
|
||||
|
||||
Reference in new issue
Block a user