Connection::SQLSTATE_SYNTAX_ERROR

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Database/Driver/mysql/Connection.php \Drupal\Core\Database\Driver\mysql\Connection::SQLSTATE_SYNTAX_ERROR

SQLSTATE error code for "Syntax error or access rule violation".

File

core/modules/mysql/src/Driver/Database/mysql/Connection.php, line 48

Class

Connection
MySQL implementation of \Drupal\Core\Database\Connection.

Namespace

Drupal\mysql\Driver\Database\mysql

Code

const SQLSTATE_SYNTAX_ERROR = 42000;

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