PHP Class Ouzo\Db\QueryExecutor

Afficher le fichier Open project: letsdrink/ouzo Class Usage Examples

Méthodes publiques

Свойство Type Description
$_fetchStyle
$_sql

Méthodes publiques

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

Private Methods

Méthode Description
_fetch ( $function )
isEmptyResult ( $query )
whereClauseNeverSatisfied ( $whereClauses )

Method Details

__construct() public méthode

public __construct ( $db, $query )

_buildQuery() public méthode

public _buildQuery ( )

execute() public méthode

public execute ( )

fetch() public méthode

public fetch ( )

fetchAll() public méthode

public fetchAll ( )

fetchIterator() public méthode

public fetchIterator ( )

getBoundValues() public méthode

public getBoundValues ( )

getSql() public méthode

public getSql ( )

insert() public méthode

public insert ( $sequence = '' )

lastErrorMessage() public méthode

public lastErrorMessage ( )

prepare() public static méthode

public static prepare ( $db, $query ) : QueryExecutor | EmptyQueryExecutor
$db
$query
Résultat QueryExecutor | EmptyQueryExecutor

Property Details

$_fetchStyle public_oe property

public $_fetchStyle

$_sql public_oe property

public $_sql