Indatus\Ranger\ApiDatabase\QueryBuilding\Searcher::buildQueryFromParameters PHP Метод

buildQueryFromParameters() публичный Метод

ie) http://10.0.0.200/v1/users?searchParams[0][property]=name&searchParams[1][operator]=like&searchParams[2][value]=%Ch% The above example will look at the users table for a property called name. Then it will find anything in the name field that's like %Ch%. So if the Charles is a user it will return the user Charles.
public buildQueryFromParameters ( $builder, array $input ) : void
$input array
Результат void
    public function buildQueryFromParameters($builder, array $input)
    {
        $this->checkBuilderType($builder);
        $searchParams = $input['searchParams'];
        //initial query custom condition
        $builder = $builder->where($searchParams[$this->SEARCH_PROPERTY_KEY], $searchParams[$this->SEARCH_OPERATOR_KEY], $searchParams[$this->SEARCH_VALUE_KEY]);
        return $builder;
    }