bryan

Results 4 comments of bryan

In your example you are only querying one relationship in a model. Suppose in in the ``Cities Model`` we have another relationship So in: `City_model.php` ``...`` ``$this->has_one['country'] => array('Country_model');`` And...

Okay @avenirer , Assuming we already established that code. What if I will add another relationship in the `City Model`: ``$this->has_many['states'] => array('State_model')`` How do I pull that using your...

Yes, right now I'm having child models in many parent models and I want to query them all one in one go. So the output should be something like this:...

I've managed to implement this on datatables nevertheless I'll add it here Thanks!