Bit of a personal preference, Just think it looks a bit cleaner than concatenating strings. More so if you have multiple tables.
...
->from(MyModel::$table . ' Alias')
...
...
->from(array('Alias' => MyModel::$table))
...
Bit of a personal preference, Just think it looks a bit cleaner than concatenating strings. More so if you have multiple tables.
...
->from(MyModel::$table . ' Alias')
...
...
->from(array('Alias' => MyModel::$table))
...