(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.2.0)
Executes an SQL statement, returning a result set as a PDOStatement object
public PDOStatement PDO::query ( string $statement )
public PDOStatement PDO::query ( string $statement , int $PDO::FETCH_COLUMN , int $colno )
public PDOStatement PDO::query ( string $statement , int $PDO::FETCH_CLASS , string $classname , array $ctorargs )
public PDOStatement PDO::query ( string $