Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Database/Query/Query.php \Drupal\Core\Database\Query\Query::comments
  2. 9 core/lib/Drupal/Core/Database/Query/Query.php \Drupal\Core\Database\Query\Query::comments

An array of comments that can be prepended to a query.

Type: array

File

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

Class

Query
Base class for query builders.

Namespace

Drupal\Core\Database\Query

Code

protected $comments = [];