db\QueryTrait $indexBy

$indexBy public property

The name of the column by which the query results should be indexed by. This can also be a callable (e.g. anonymous function) that returns the index value based on the given row data. For more details, see indexBy(). This property is only used by all().

public string|callable $indexBy = null
doc_Yii
2016-10-30 16:59:28
Comments
Leave a Comment

Please login to continue.