InsertTrait::$defaultFields
Same name in other branches
- 9 core/lib/Drupal/Core/Database/Query/InsertTrait.php \Drupal\Core\Database\Query\InsertTrait::defaultFields
- 8.9.x core/lib/Drupal/Core/Database/Query/InsertTrait.php \Drupal\Core\Database\Query\InsertTrait::defaultFields
- 11.x core/lib/Drupal/Core/Database/Query/InsertTrait.php \Drupal\Core\Database\Query\InsertTrait::defaultFields
An array of fields that should be set to their database-defined defaults.
Type: array
File
-
core/
lib/ Drupal/ Core/ Database/ Query/ InsertTrait.php, line 31
Class
- InsertTrait
- Provides common functionality for INSERT and UPSERT queries.
Namespace
Drupal\Core\Database\QueryCode
protected $defaultFields = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.