class NoFieldsException

Same name in other branches
  1. 9 core/lib/Drupal/Core/Database/Query/NoFieldsException.php \Drupal\Core\Database\Query\NoFieldsException
  2. 8.9.x core/lib/Drupal/Core/Database/Query/NoFieldsException.php \Drupal\Core\Database\Query\NoFieldsException
  3. 10 core/lib/Drupal/Core/Database/Query/NoFieldsException.php \Drupal\Core\Database\Query\NoFieldsException
  4. 11.x core/lib/Drupal/Core/Database/Query/NoFieldsException.php \Drupal\Core\Database\Query\NoFieldsException

Exception thrown if an insert query doesn't specify insert or default fields.

Hierarchy

Expanded class hierarchy of NoFieldsException

Related topics

File

includes/database/database.inc, line 1943

View source
class NoFieldsException extends Exception {

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.