public function 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 drupal/core/lib/Drupal/Core/Database/Query/Query.php
Gets the next placeholder value for this query object.
Schema::nextPlaceholder in drupal/core/lib/Drupal/Core/Database/Schema.php
Implements PlaceHolderInterface::nextPlaceholder().
SelectExtender::nextPlaceholder in drupal/core/lib/Drupal/Core/Database/Query/SelectExtender.php
Implements Drupal\Core\Database\Query\PlaceholderInterface::nextPlaceholder().

File

drupal/core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php, line 26
Definition of Drupal\Core\Database\Query\PlaceholderInterface

Class

PlaceholderInterface
Interface for a query that accepts placeholders.

Namespace

Drupal\Core\Database\Query

Code

public function nextPlaceholder();