orm: Add support for a view model
Define a static ::getQuery() method and define 'view'=>true in the model meta data and the SQL code retrieved from getQuery will be used inline when joining the model rather than using a table.
Loading
Please register or sign in to comment