This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Description
Bug report
Describe the bug
Before the change in #461, the "like" query was built like this with :value%
Since the change, it is built like this:
The reason is the called pattern = sanitize_pattern_param(pattern) which surrounds the value with " whenever a "special" character ,:() is in the request.
Using " around the value will result in an empty set to be returned instead of the actual data matching :value%.
To Reproduce
Do a select query with
.like("column", ":value%")
and check the result returned from the database.
Expected behavior
Using the like operator and get values in return