public function Select::getArguments in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Database/Query/Select.php \Drupal\Core\Database\Query\Select::getArguments()
Compiles and returns an associative array of the arguments for this prepared statement.
Parameters
$queryPlaceholder: When collecting the arguments of a subquery, the main placeholder object should be passed as this parameter.
Return value
An associative array of all placeholder arguments for this query.
Overrides SelectInterface::getArguments
1 call to Select::getArguments()
- Select::execute in core/
lib/ Drupal/ Core/ Database/ Query/ Select.php - Runs the query against the database.
File
- core/
lib/ Drupal/ Core/ Database/ Query/ Select.php, line 431
Class
- Select
- Query builder for SELECT statements.
Namespace
Drupal\Core\Database\QueryCode
public function getArguments(PlaceholderInterface $queryPlaceholder = NULL) {
if (!isset($queryPlaceholder)) {
$queryPlaceholder = $this;
}
$this
->compile($this->connection, $queryPlaceholder);
return $this
->arguments();
}