Skip to content

Commit 7ca69c9

Browse files
committed
Fix regexp operator
1 parent 7d87337 commit 7ca69c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/PostgreSQL/SQL/PostgreSQLBinaryOperator.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public enum PostgreSQLBinaryOperator: SQLBinaryOperator, Equatable {
156156
case ._like: return "LIKE"
157157
case ._glob: return "GLOB"
158158
case ._match: return "MATCH"
159-
case ._regexp: return "REGEXP"
159+
case ._regexp: return "~"
160160
case ._notLike: return "NOT LIKE"
161161
case ._notGlob: return "NOT GLOB"
162162
case ._notMatch: return "NOT MATCH"

0 commit comments

Comments
 (0)