src/LikePDO/LikePDO.php
public function query($statement, $fetch_type = NULL, $fetch_arga = NULL, $fetch_argb = NULL)
	{
		if(!$fetch_type)
			$fetch_type = LikePDO::FETCH_ASSOC;

		$statement = new LikePDOStatement($statement, $this);
		$statement->setFetchMode($fetch_type, $fetch_arga, $fetch_argb);
		$statement->execute();
		
		return $statement->fetchAll();
	}
public function query($statement, $fetch_type = NULL, $fetch_arga = NULL, $fetch_argb = NULL)
	{
		if(!$fetch_type)
			$fetch_type = LikePDO::FETCH_ASSOC;

		$statement = new LikePDOStatement($statement, $this);
		$statement->setFetchMode($fetch_type, $fetch_arga, $fetch_argb);
		$statement->execute();
		
		return $statement->fetchAll();
	}
public function query ( $ statement , $ fetch_type = NULL , $ fetch_arga = NULL , $ fetch_argb = NULL ) { if ( ! $ fetch_type ) $ fetch_type = LikePDO :: FETCH_ASSOC ; $ statement = new LikePDOStatement ( $ statement , $ this ) ; $ statement -> setFetchMode ( $ fetch_type , $ fetch_arga , $ fetch_argb ) ; $ statement -> execute ( ) ; return $ statement -> fetchAll ( ) ; }
Executes an SQL statement, returning a result set as a LikePDOStatement object

@param	string	$statement - The SQL statement to prepare and execute.
@param	integer	$fetch_type - LikePDO::FETCH_COLUMN / LikePDO::FETCH_CLASS / LikePDO::FETCH_INTO [default -> NULL]
@param	mixed	$fetch_arga - [int $colno] / [string $classname] / [object $object]
@param	mixed	$fetch_argb - [array $ctorargs]
Executes an SQL statement returning a result set as a LikePDOStatement object