function Query::nextPlaceholder
Same name in other branches
- 7.x includes/database/query.inc \Query::nextPlaceholder()
- 9 core/lib/Drupal/Core/Database/Query/Query.php \Drupal\Core\Database\Query\Query::nextPlaceholder()
- 10 core/lib/Drupal/Core/Database/Query/Query.php \Drupal\Core\Database\Query\Query::nextPlaceholder()
- 11.x core/lib/Drupal/Core/Database/Query/Query.php \Drupal\Core\Database\Query\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 138
Class
- Query
- Base class for query builders.
Namespace
Drupal\Core\Database\QueryCode
public function nextPlaceholder() {
return $this->nextPlaceholder++;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.