src/Kisma/Core/Utility/Sql.php
public static function query( $sql, $parameters = null, &$connection = null, $fetchMode = \PDO::FETCH_ASSOC )
    {
        return DataReader::create( $sql, $parameters, $connection, $fetchMode );
    }
public static function query( $sql, $parameters = null, &$connection = null, $fetchMode = \PDO::FETCH_ASSOC )
    {
        return DataReader::create( $sql, $parameters, $connection, $fetchMode );
    }
public static function query ( $ sql , $ parameters = null , & $ connection = null , $ fetchMode = \ PDO :: FETCH_ASSOC ) { return DataReader :: create ( $ sql , $ parameters , $ connection , $ fetchMode ) ; }
Creates and returns an optionally parameter-bound \PDOStatement object suitable for iteration

@param string $sql
@param array  $parameters
@param \PDO   $connection
@param int    $fetchMode Set to false to not touch fetch mode

@return \Kisma\Core\Tools\DataReader
Creates and returns an optionally parameter - bound \ PDOStatement object suitable for iteration