studiomado / query-bundle

Query doctrine database from query string and provide HATEOAS responses.
MIT License
13 stars 5 forks source link

Separate or filter conditions #172

Closed AlessandroMinoccheri closed 6 years ago

AlessandroMinoccheri commented 6 years ago
Q A
Bug report? no
Feature request? yes
QueryBundle version 2.4

It could be very useful to create a query with more or filter conditions separated like this:

select * from entity WHERE name = 'foo' OR surname = 'baz' OR description = 'bar'  OR subject = 'buzz';

The purpose is to have something like this:

select * from entity WHERE (name = 'foo' OR surname = 'baz') AND (description = 'bar'  OR subject = 'buzz');
AlessandroMinoccheri commented 6 years ago

Resolved into PR #173