public function 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 drupal/core/lib/Drupal/Core/Database/Query/Select.php
Runs the query against the database.

File

drupal/core/lib/Drupal/Core/Database/Query/Select.php, line 356
Definition of Drupal\Core\Database\Query\Select

Class

Select
Query builder for SELECT statements.

Namespace

Drupal\Core\Database\Query

Code

public function getArguments(PlaceholderInterface $queryPlaceholder = NULL) {
  if (!isset($queryPlaceholder)) {
    $queryPlaceholder = $this;
  }
  $this
    ->compile($this->connection, $queryPlaceholder);
  return $this
    ->arguments();
}