func === (lhs: SQLExpressible?, rhs: SQLCollatedExpression) bugfix

This commit is contained in:
Gwendal Roué committed 2017-07-18 09:00:49 +02:00
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.