public function Query::nextPlaceholder

Gets the next placeholder value for this query object.

Return value

int Next placeholder value.

Overrides PlaceholderInterface::nextPlaceholder

File

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

Class

Query
Base class for query builders.

Namespace

Drupal\Core\Database\Query

Code

public function nextPlaceholder() {
  return $this->nextPlaceholder++;
}