1 query.inc public Query::nextPlaceholder()

Gets the next placeholder value for this query object.

Return value

int: Next placeholder value.

Overrides QueryPlaceholderInterface::nextPlaceholder

File

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

Class

Query
Base class for query builders.

Code

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