src/Data/DefaultDataProviderSqlUtils.php
public static function buildWhereQuery($config, array &$parameters)
    {
        $query = static::buildFilterQuery($config, $parameters);
        if (empty($query)) {
            return '';
        }

        return ' WHERE ' . $query;
    }
public static function buildWhereQuery($config, array &$parameters)
    {
        $query = static::buildFilterQuery($config, $parameters);
        if (empty($query)) {
            return '';
        }

        return ' WHERE ' . $query;
    }
public static function buildWhereQuery ( $ config , array & $ parameters ) { $ query = static :: buildFilterQuery ( $ config , $ parameters ) ; if ( empty ( $ query ) ) { return '' ; } return ' WHERE ' . $ query ; }
Build the WHERE clause for a configuration.

@param ConfigInterface $config     The configuration to use.

@param array           $parameters The query parameters will get stored into this array.

@return string  The combined WHERE clause (including the word "WHERE").

@deprecated Use DefaultDataProviderDBalUtils::addWhere. This will be removed.
Build the WHERE clause for a configuration .