Skip to content

Commit

Permalink
Update SQLBinaryOperator.swift (#91)
Browse files Browse the repository at this point in the history
Added `like` and `notLike` to the `serialize`
  • Loading branch information
proggeramlug authored Feb 7, 2020
1 parent 52d91f0 commit 66c9ed2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/SQLKit/Query/SQLBinaryOperator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ public enum SQLBinaryOperator: SQLExpression {
case .lessThanOrEqual: serializer.write("<=")
case .is: serializer.write("IS")
case .isNot: serializer.write("IS NOT")
case .like: serializer.write("LIKE")
case .notLike: serializer.write("NOT LIKE")
default:
print(self)
fatalError()
Expand Down

0 comments on commit 66c9ed2

Please sign in to comment.