Query::nextPlaceholder

public Query::nextPlaceholder()

Gets the next placeholder value for this query object.

Return value

int The next placeholder value.

Overrides PlaceholderInterface::nextPlaceholder

File

core/lib/Drupal/Core/Database/Query/Query.php, line 134

Class

Query
Base class for query builders.

Namespace

Drupal\Core\Database\Query

Code

public function nextPlaceholder() {
  return $this->nextPlaceholder++;
}
doc_Drupal
2016-10-29 09:35:26
Comments
Leave a Comment

Please login to continue.