loopbackio / loopbackio/loopback-datasource-juggler
#1785 (backport of #1782) broke some like queries on SQL DBs
Open
@mitsos1os is already working on this.
Since Sep 24, 2020.
bug
community-contribution
major
regression
- Dominant language
- JavaScript
- Stars
- 282
- Forks
- 366
- Avg merge
- 17h 4m
- Merged PRs (30d)
- 10
Description
Starting from `loopback-datasource-juggler@3.33.2` queries using `like`, `nlike`, `ilike`, and `nilike` operators on SQL DBs (PostgreSQL in my case) fails, because the presence of parentheses (like in `{where: {name: {nlike: 'Internal service (%'}}`) or other characters forbidden by the `escapeRegEx()` cause the rewrite of the query string and the query to fail.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.