src/QueryBuilder.php
/**
     * Creates multiple prefixes queries for the list of keys
     * 
     * Two keys and two values will results in 4 prefix queries
     * 
     * @param array $keys
     * @param array $values
     * @param type $bool
     * @param array $params
     * @return QueryBuilder|static|self
     */
Creates multiple prefixes queries for the list of keys

Two keys and two values will results in 4 prefix queries


Creates multiple prefixes queries for the list of keys Two keys and two values will results in 4 prefix queries
public function multiPrefixs(array $keys, array $values, $bool = "must", $filter = false, array $params = []) {
        $subQuery = $this->orWhere($bool);
        foreach ($keys as $key) {
            $subQuery->prefixs($key, $values, $bool, true, $params);
        }
        $subQuery->endSubQuery();
        return $this;
    }
public function multiPrefixs ( array $ keys , array $ values , $ bool = " must " , $ filter = false , array $ params = [ ] ) { $ subQuery = $ this -> orWhere ( $ bool ) ; foreach ( $ keys as $ key ) { $ subQuery -> prefixs ( $ key , $ values , $ bool , true , $ params ) ; } $ subQuery -> endSubQuery ( ) ; return $ this ; }
Creates multiple prefixes queries for the list of keys
Creates multiple prefixes queries for the list of keys