I need a clause with a “where” and an “or_where” condition together in GC: 2.0.2 CE:
WHERE x=a AND (y=b OR y=c)
How do I have to code this together:
$crud->where('x', a);
and ???
I need a clause with a “where” and an “or_where” condition together in GC: 2.0.2 CE:
WHERE x=a AND (y=b OR y=c)
How do I have to code this together:
$crud->where('x', a);
and ???
In deed, I’m looking for a WHERE x=a AND y IN(b, c)
Can someone point me to the direction please?
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How can I trim search fields in datagrid before the search starts? |
|
2 | 481 | May 9 |
| At least in v1.x: primary key not encoded in read / action URLs |
|
0 | 447 | May 3 |
| Grocery crud 1.6+ stable export filtered data |
|
0 | 310 | Aug 3 |
| displayAs() doesn’t support new line in headings |
|
4 | 856 | Jan 5 |
| Change configuration |
|
0 | 435 | Jun 17 |