1 schema.inc | public DatabaseSchema::nextPlaceholder() |
Returns the next placeholder ID for the query.
Return value
int: The next available placeholder ID as an integer.
Overrides QueryPlaceholderInterface::nextPlaceholder
File
- core/
includes/ database/ schema.inc, line 225 - Generic Database schema code.
Class
- DatabaseSchema
- Base class for database schema definitions.
Code
public function nextPlaceholder() {
return $this->placeholder++;
}