PHP Class Ouzo\Db\QueryExecutor

Exibir arquivo Open project: letsdrink/ouzo Class Usage Examples

Public Properties

Property Type Description
$_fetchStyle
$_sql

Public Methods

Method Description
__construct ( $db, $query )
_buildQuery ( )
execute ( )
fetch ( )
fetchAll ( )
fetchIterator ( )
getBoundValues ( )
getSql ( )
insert ( $sequence = '' )
lastErrorMessage ( )
prepare ( $db, $query ) : QueryExecutor | EmptyQueryExecutor

Private Methods

Method Description
_fetch ( $function )
isEmptyResult ( $query )
whereClauseNeverSatisfied ( $whereClauses )

Method Details

__construct() public method

public __construct ( $db, $query )

_buildQuery() public method

public _buildQuery ( )

execute() public method

public execute ( )

fetch() public method

public fetch ( )

fetchAll() public method

public fetchAll ( )

fetchIterator() public method

public fetchIterator ( )

getBoundValues() public method

public getBoundValues ( )

getSql() public method

public getSql ( )

insert() public method

public insert ( $sequence = '' )

lastErrorMessage() public method

public lastErrorMessage ( )

prepare() public static method

public static prepare ( $db, $query ) : QueryExecutor | EmptyQueryExecutor
$db
$query
return QueryExecutor | EmptyQueryExecutor

Property Details

$_fetchStyle public_oe property

public $_fetchStyle

$_sql public_oe property

public $_sql