profile
viewpoint

Ask questions"it's" changing to "its"

Hi,

Parsing it's returns its.

Is there any way to make it return it&s instead?

caub/pg-tsquery

Answer questions caub

Ok now the option is added, you could do

const tsquery = Tsquery({singleQuoteReplacement: '&'});
tsquery(`It's working`)+'' // It&s&working`

note that if you use {singleQuoteReplacement: ' ' for example, the result would probably make postgresql ts_query crash

useful!

Related questions

No questions were found.
source:https://uonfu.com/
Github User Rank List