You are here

constant Connection::SQLSTATE_SYNTAX_ERROR in Drupal 9

Same name and namespace in other branches
  1. 8 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/lib/Drupal/Core/Database/Driver/mysql/Connection.php, line 49

Class

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

Namespace

Drupal\Core\Database\Driver\mysql

Code

const SQLSTATE_SYNTAX_ERROR = 42000;