You are here

function views_plugin_query_default::db_query_range in Views (for Drupal 7) 6.3

Wrapper method for db_query_range().

Parameters

$query: A string containing an SQL query.

$from: The first result row to return.

$count: The maximum number of result rows to return.

$args: An array containing the query arguments.

Return value

A database query result resource, or FALSE if the query was not executed correctly.

1 call to views_plugin_query_default::db_query_range()
views_plugin_query_default::execute in plugins/views_plugin_query_default.inc
Executes the query and fills the associated view object with according values.

File

plugins/views_plugin_query_default.inc, line 1248
views_plugin_query_default.inc Defines the default query object which builds SQL to execute using the Drupal database API.

Class

views_plugin_query_default
Object used to create a SELECT query.

Code

function db_query_range($query, $from, $count, $args = array()) {
  return db_query_range($query, $from, $count, $args);
}