public function QueryPlaceholderInterface::nextPlaceholder

Returns the next placeholder ID for the query.

Return value

The next available placeholder ID as an integer.

3 methods override QueryPlaceholderInterface::nextPlaceholder()
DatabaseSchema::nextPlaceholder in drupal/includes/database/schema.inc
Implements QueryPlaceHolderInterface::nextPlaceholder().
Query::nextPlaceholder in drupal/includes/database/query.inc
Gets the next placeholder value for this query object.
SelectQueryExtender::nextPlaceholder in drupal/includes/database/select.inc
Implements QueryPlaceholderInterface::nextPlaceholder().

File

drupal/includes/database/query.inc, line 266
Non-specific Database query code. Used by all engines.

Class

QueryPlaceholderInterface
Interface for a query that accepts placeholders.

Code

public function nextPlaceholder();