Closed periyasamy25 closed 8 years ago
Please tell me how to write the above query in Paris.
This was just a small change from something copied from the docs. Unfortunately I cannot run a local server on my machine right now to test but that should work.
$results = ORM::for_table('table')
->where_raw('(`column1` LIKE ? OR `column2` LIKE ?)', array('%value1%', '%value2%'))
->where('column3', 'value3')
->order_by_asc('column1')
->find_many();
How can I write this query using Idiorm?