Pop\Db\Adapter\Sqlite::query PHP Метод

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

Execute the SQL query and create a result resource, or display the SQL error.
public query ( string $sql ) : void
$sql string
Результат void
    public function query($sql)
    {
        if (stripos($sql, 'select') !== false) {
            $this->lastSql = $sql;
        } else {
            $this->lastSql = null;
        }
        if (!($this->result = $this->connection->query($sql))) {
            $this->showError();
        }
    }