Query::$comments
Same name in other branches
- 7.x includes/database/query.inc \Query::comments
- 9 core/lib/Drupal/Core/Database/Query/Query.php \Drupal\Core\Database\Query\Query::comments
- 8.9.x core/lib/Drupal/Core/Database/Query/Query.php \Drupal\Core\Database\Query\Query::comments
- 11.x 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\QueryCode
protected $comments = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.