Pimcore\Db\Wrapper::queryIgnoreError PHP Метод

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

public queryIgnoreError ( $sql, $bind = [] )
    public function queryIgnoreError($sql, $bind = [])
    {
        try {
            // we call callResourceMethod() directly to bypass the error-handling in __call()
            $return = $this->callResourceMethod("query", [$sql, $bind]);
            return $return;
        } catch (\Exception $e) {
            // we simply ignore the error
        }
        return null;
    }