* - ["from" => $fromValue, "to" => $toValue] * - ["eq" => $equalValue] * - ["neq" => $notEqualValue] * - ["like" => $likeValue] * - ["in" => [$inValues]] * - ["nin" => [$notInValues]] * - ["notnull" => $valueIsNotNull] * - ["null" => $valueIsNull] * - ["moreq" => $moreOrEqualValue] * - ["gt" => $greaterValue] * - ["lt" => $lessValue] * - ["gteq" => $greaterOrEqualValue] * - ["lteq" => $lessOrEqualValue] * - ["finset" => $valueInSet] * * * If non matched - sequential parallel arrays are expected and OR conditions * will be built using above mentioned structure. * * Example: *
* $field = ['age', 'name']; * $condition = [42, ['like' => 'Mage']]; ** The above would find where age equal to 42 OR name like %Mage%. * * @param string|array $field * @param string|int|array $condition * @throws \Magento\Framework\Exception\LocalizedException if some error in the input could be detected. * @return void */ public function addFieldToFilter($field, $condition = null); /** * Reset Select object state * * @return void */ public function reset(); }