A custom query is not flexible and would have to be re-written every
time it changes and it also would break conventions.
If I create a view, very simple as new view (STAFF VIEW SQL = "Select
* from Staff" save as owners.
Then my model includes hasMany("owners").
Now any my models can include both Staff and Owners just fine. Could
not be simpler.
On Feb 10, 11:11 am, Mohamad El-Husseini <
husseini....@gmail.com>
wrote: