Open tommoor opened 1 year ago
Would using the option added in https://github.com/caub/pg-tsquery/issues/14 help here?
Sorry, edited the report – the issue is caused by that option.
We added this singleQuoteReplacement
option lately, and I added a comment about it that it should not be a reserved word
For example does it work for you to use a space ' '
or a a '+'
?
With the
{ singleQuoteReplacement: "&" }
option the search termone'
or'one
…produces the invalid syntax:
one&
…I think the rule is too simplistic here?