Skip to content
Snippets Groups Projects
  • Jared Hancock's avatar
    268d4c24
    orm: Add support for a view model · 268d4c24
    Jared Hancock authored
    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.
    268d4c24
    History
    orm: Add support for a view model
    Jared Hancock authored
    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.