You are here

public function Connection::queryRange in Drupal 10

Same name in this branch
  1. 10 core/tests/fixtures/database_drivers/custom/fake/Connection.php \Drupal\Driver\Database\fake\Connection::queryRange()
  2. 10 core/modules/sqlite/src/Driver/Database/sqlite/Connection.php \Drupal\sqlite\Driver\Database\sqlite\Connection::queryRange()
  3. 10 core/modules/pgsql/src/Driver/Database/pgsql/Connection.php \Drupal\pgsql\Driver\Database\pgsql\Connection::queryRange()
  4. 10 core/modules/mysql/src/Driver/Database/mysql/Connection.php \Drupal\mysql\Driver\Database\mysql\Connection::queryRange()

File

core/modules/mysql/src/Driver/Database/mysql/Connection.php, line 221

Class

Connection
MySQL implementation of \Drupal\Core\Database\Connection.

Namespace

Drupal\mysql\Driver\Database\mysql

Code

public function queryRange($query, $from, $count, array $args = [], array $options = []) {
  return $this
    ->query($query . ' LIMIT ' . (int) $from . ', ' . (int) $count, $args, $options);
}