rocicorp / rails

Replicache on Rails
Other
34 stars 3 forks source link

fix(zql): Fix LIKE and ILIKE #60

Closed arv closed 7 months ago

arv commented 7 months ago

https://www.postgresql.org/docs/current/functions-matching.html#FUNCTIONS-LIKE

Our implementation of LIKE and ILIKE was incorrect. Now it should match the PSQL spec.

tantaman commented 7 months ago

btw, the js integration test is flaky for some reason related to how we listen for changes from experimental watch. Sometimes we miss or never get the notification. Just sharing what I know in case you decide to investigate.

Screenshot 2024-04-04 at 12 41 03 PM