Remove support for non url safe operators

This commit is contained in:
steve-chavez
2018-05-02 13:06:44 -05:00
committed by Steve Chávez
parent 79a7ce49f2
commit e9aaf05335
5 changed files with 8 additions and 58 deletions
+1 -5
View File
@@ -202,14 +202,10 @@ operators = M.union (M.fromList [
("sr", ">>"),
("nxr", "&<"),
("nxl", "&>"),
("adj", "-|-"),
-- TODO: these are deprecated and should be removed in v0.5.0.0
("@>", "@>"),
("<@", "<@")]) ftsOperators
("adj", "-|-")]) ftsOperators
ftsOperators :: M.HashMap Operator SqlFragment
ftsOperators = M.fromList [
("@@", "@@ to_tsquery"), -- TODO: '@@' deprecated
("fts", "@@ to_tsquery"),
("plfts", "@@ plainto_tsquery"),
("phfts", "@@ phraseto_tsquery")