Search for nextId

  1. Search 7.x for nextId
  2. Search 8.9.x for nextId
  3. Search 10.3.x for nextId
  4. Search 11.x for nextId
  5. Other projects
Title Object type File name Summary
Connection::nextId function core/modules/pgsql/src/Driver/Database/pgsql/Connection.php Retrieve a the next id in a sequence.
Connection::nextId function core/lib/Drupal/Core/Database/Connection.php Retrieves a unique ID from a given sequence.
Connection::nextId function core/tests/fixtures/database_drivers/custom/fake/Connection.php Retrieves a unique ID from a given sequence.
Connection::nextId function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php Retrieves a unique ID from a given sequence.
Connection::nextId function core/modules/mysql/src/Driver/Database/mysql/Connection.php Retrieves a unique ID from a given sequence.
Connection::nextIdDelete function core/modules/mysql/src/Driver/Database/mysql/Connection.php
Connection::POSTGRESQL_NEXTID_LOCK constant core/modules/pgsql/src/Driver/Database/pgsql/Connection.php The name by which to obtain a lock for retrieve the next insert id.
NextIdTest class core/modules/mysql/tests/src/Kernel/mysql/NextIdTest.php Tests the sequences API.
NextIdTest class core/tests/Drupal/KernelTests/Core/Database/NextIdTest.php Tests the sequences API.
NextIdTest.php file core/modules/mysql/tests/src/Kernel/mysql/NextIdTest.php
NextIdTest.php file core/tests/Drupal/KernelTests/Core/Database/NextIdTest.php
NextIdTest::$modules property core/modules/mysql/tests/src/Kernel/mysql/NextIdTest.php The modules to enable.
NextIdTest::$modules property core/tests/Drupal/KernelTests/Core/Database/NextIdTest.php The modules to enable.
NextIdTest::setUp function core/modules/mysql/tests/src/Kernel/mysql/NextIdTest.php
NextIdTest::setUp function core/tests/Drupal/KernelTests/Core/Database/NextIdTest.php
NextIdTest::testDbNextId function core/tests/Drupal/KernelTests/Core/Database/NextIdTest.php Tests that the sequences API works.
NextIdTest::testDbNextIdClosedConnection function core/modules/mysql/tests/src/Kernel/mysql/NextIdTest.php Tests that sequences table clear up works when a connection is closed.
StubConnection::nextId function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php Retrieves a unique ID from a given sequence.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.