You are here

public function PlaceholderInterface::nextPlaceholder in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php \Drupal\Core\Database\Query\PlaceholderInterface::nextPlaceholder()
  2. 10 core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php \Drupal\Core\Database\Query\PlaceholderInterface::nextPlaceholder()

Returns the next placeholder ID for the query.

Return value

The next available placeholder ID as an integer.

3 methods override PlaceholderInterface::nextPlaceholder()
Query::nextPlaceholder in core/lib/Drupal/Core/Database/Query/Query.php
Gets the next placeholder value for this query object.
Schema::nextPlaceholder in core/lib/Drupal/Core/Database/Schema.php
Returns the next placeholder ID for the query.
SelectExtender::nextPlaceholder in core/lib/Drupal/Core/Database/Query/SelectExtender.php
Returns the next placeholder ID for the query.

File

core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php, line 21

Class

PlaceholderInterface
Interface for a query that accepts placeholders.

Namespace

Drupal\Core\Database\Query

Code

public function nextPlaceholder();