primaryKeysByCondition() protected static method (available since version 2.0.4)
Performs a quick and highly efficient scroll/scan query to get the list of primary keys that satisfy the given condition. If condition is a list of primary keys (e.g.: ['_id' => ['1', '2', '3']]), the query is not performed for performance considerations. See also:
updateAll()
updateAllCounters()
deleteAll()
protected static array primaryKeysByCondition ( $condition )$condition array
Please refer to yii\e