Skip to content

#1785 (backport of #1782) broke some like queries on SQL DBs #1869

@FedericoMassaioli

Description

@FedericoMassaioli

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.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions