queryScalar() protected method Queries a scalar value
EVENT_INIT event of type \yii\db\Event An event that is triggered
init() public method Initializes the object.
viaTable() public method Specifies the junction table
$sql public property The SQL statement to be executed for retrieving
$joinWith public property A list of relations that this query
all() public method Executes query and returns all results
joinWith() public method Joins with the specified relations
onCondition() public method Sets the ON condition for
__construct() public method Constructor.
Page 1 of 2