I am developing an application using idiorm(https://github.com/j4mie/idiorm) for fetching data from database.
Here is my piece of code:
$messages = Model::factory('Messages')->where('from_user_id','1')->find_many();
I want to include an or statement that where->('to_user_id','1')
How can I put this as an OR statement in my Idiorm query?