queryRange

  1. drupal
    1. drupal7
Versionen
drupal7 abstract public DatabaseConnection::queryRange($query, array $args, $from, $count, array $options = array())

Runs a limited-range query on this database object.

Use this as a substitute for ->query() when a subset of the query is to be returned. User-supplied arguments to the query should be passed in as separate parameters so that they can be properly escaped to avoid SQL injection attacks.

Übergabeparameter

$query A string containing an SQL query.

$args An array of values to substitute into the query at placeholder markers.

$from The first result row to return.

$count The maximum number of result rows to return.

$options An array of options on the query.

Rückgabewert

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

Verwandte Themen

Code

includes/database/database.inc, line 954

<?php
abstract public function queryRange($query, array $args, $from, $count, array $options = array());
?>

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen