Add websearch_to_tsquery support (#1339)

This commit is contained in:
Eduardo Jorge
2019-07-08 13:25:58 -05:00
committed by Steve Chávez
parent ea97055449
commit e639c77aa2
6 changed files with 69 additions and 11 deletions
+2 -1
View File
@@ -287,7 +287,8 @@ ftsOperators :: M.HashMap Operator SqlFragment
ftsOperators = M.fromList [
("fts", "@@ to_tsquery"),
("plfts", "@@ plainto_tsquery"),
("phfts", "@@ phraseto_tsquery")
("phfts", "@@ phraseto_tsquery"),
("wfts", "@@ websearch_to_tsquery")
]
data OpExpr = OpExpr Bool Operation deriving (Eq, Show)