function PlaceholderInterface::nextPlaceholder
Returns the next placeholder ID for the query.
Return value
int The next available placeholder ID as an integer.
3 methods override PlaceholderInterface::nextPlaceholder()
- Query::nextPlaceholder in core/
lib/ Drupal/ Core/ Database/ Query/ Query.php - Gets the next placeholder value for this query object.
- Schema::nextPlaceholder in core/
lib/ Drupal/ Core/ Database/ Schema.php - Returns the next placeholder ID for the query.
- SelectExtender::nextPlaceholder in core/
lib/ Drupal/ Core/ Database/ Query/ SelectExtender.php - Returns the next placeholder ID for the query.
File
-
core/
lib/ Drupal/ Core/ Database/ Query/ PlaceholderInterface.php, line 21
Class
- PlaceholderInterface
- Interface for a query that accepts placeholders.
Namespace
Drupal\Core\Database\QueryCode
public function nextPlaceholder();