This method will return a single stdClass object:. However, the true "polymorphic" magic is when you access the staff or order from the Photo model:. The update method, like the insert method, accepts an array of column and value pairs indicating the columns to be updated. In addition to the union method, the query builder provides a unionAll method. JackPoint commented May 23,
nest...