You are here

protected property Query::$comments in Drupal 10

Same name and namespace in other branches
  1. 8 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 = [];