V
Size: a a a
NI
NI
NI
V
This is the fastest and most scalable lock mode, but it is not safe when using statement-based replication or recovery scenarios when SQL statements are replayed from the binary log.
MC
MC
MC
MC
А
MC
А
MC
MC
MC
$attributes = Attribute::find()
->select(['attribute.id'])
->joinWith(['option.item'], false)
->where(['item.restaurant_id' => $restaurant->id])
->asArray()
->column();
MC
MC
MC