Schema::nextPlaceholder

public Schema::nextPlaceholder()

Returns the next placeholder ID for the query.

Return value

The next available placeholder ID as an integer.

Overrides PlaceholderInterface::nextPlaceholder

File

core/lib/Drupal/Core/Database/Schema.php, line 63

Class

Schema
Provides a base implementation for Database Schema.

Namespace

Drupal\Core\Database

Code

1
2
3
public function nextPlaceholder() {
  return $this->placeholder++;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.