You are here

constant Connection::SQLSTATE_SYNTAX_ERROR in Drupal 10

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

File

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

Class

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

Namespace

Drupal\mysql\Driver\Database\mysql

Code

const SQLSTATE_SYNTAX_ERROR = 42000;