NoFieldsException.php

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

Namespace

Drupal\Core\Database\Query

File

core/lib/Drupal/Core/Database/Query/NoFieldsException.php

View source
<?php

namespace Drupal\Core\Database\Query;

use Drupal\Core\Database\DatabaseException;

/**
 * Exception thrown if an insert query doesn't specify insert or default fields.
 */
class NoFieldsException extends \InvalidArgumentException implements DatabaseException {

}

Classes

Title Deprecated Summary
NoFieldsException Exception thrown if an insert query doesn't specify insert or default fields.

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