function DB_common::modifyLimitQuery in Flickr API 5
Adds LIMIT clauses to a query string according to current DBMS standards
It is defined here to assure that all implementations have this method defined.
@access protected
Parameters
string $query the query to modify:
int $from the row to start to fetching (0 = the first row):
int $count the numbers of rows to fetch:
mixed $params array, string or numeric data to be used in: execution of the statement. Quantity of items passed must match quantity of placeholders in query: meaning 1 placeholder for non-array parameters or 1 placeholder per array element.
Return value
string the query string with LIMIT clauses added
1 call to DB_common::modifyLimitQuery()
- DB_common::limitQuery in phpFlickr/
PEAR/ DB/ common.php - Generates and executes a LIMIT query
2 methods override DB_common::modifyLimitQuery()
- DB_mysql::modifyLimitQuery in phpFlickr/
PEAR/ DB/ mysql.php - Adds LIMIT clauses to a query string according to current DBMS standards
- DB_pgsql::modifyLimitQuery in phpFlickr/
PEAR/ DB/ pgsql.php - Adds LIMIT clauses to a query string according to current DBMS standards
File
- phpFlickr/
PEAR/ DB/ common.php, line 1121
Class
- DB_common
- DB_common is the base class from which each database driver class extends
Code
function modifyLimitQuery($query, $from, $count, $params = []) {
return $query;
}