alias() public method (available since version 2.0.7)
Define an alias for the table defined in $modelClass.
This method will adjust from() so that an already defined alias will be overwritten. If none was defined, from() will be populated with the given alias.
public $this alias ( $alias ) | ||
---|---|---|
$alias | string |
The table alias. |
return | $this |
The query object itself |
Please login to continue.