Class

PDOQuerier

Package: IO\DB\driver\pdo Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Loic ROUCHON horn@phpboost.com Version: PHPBoost 5.2 - last update: 2016 11 14 Since: PHPBoost 3.0 - 2009 11 01 Contributor: mipel mipel@phpboost.com Located at: io/db/driver/pdo/PDOQuerier.class.php
AbstractSQLQuerier implements SQLQuerier
Extended by PDOQuerier
Methods summary
public SelectQueryResult
# select( string $query, string[string] $parameters = array(), $fetch_mode = SelectQueryResult::FETCH_ASSOC )

executes the

$query

sql request and returns the query result.

Query will first be converted into the specific sgbd dialect.

Next query functions will be converted into the specific sgbd dialect.

Then query vars ":sample_query_var" will be replaced by the value of the

$parameters['sample_query_var']
variable if existing. If not (there's a lot of chance that you have forgotten to register this query var in the
$parameters
map), the query var won't be replaced

public InjectQueryResult
# inject( string $query, string[string] $parameters = array() )

executes the

$query

sql request.

Query will first be converted into the specific sgbd dialect.

Next query functions will be converted into the specific sgbd dialect.

Then query vars ":sample_query_var" will be replaced by the value of the

$parameters['sample_query_var']
variable if existing. If not (there's a lot of chance that you have forgotten to register this query var in the
$parameters
map), the query var won't be replaced

Constants inherited from SQLQuerier
ORDER_BY_ASC, ORDER_BY_DESC
Properties inherited from AbstractSQLQuerier
$link
Annonces