You are here

protected property Connection::$statementClass in Drupal 9

Same name in this branch
  1. 9 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::statementClass
  2. 9 core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php \Drupal\Core\Database\Driver\sqlite\Connection::statementClass
  3. 9 core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php \Drupal\Core\Database\Driver\pgsql\Connection::statementClass
  4. 9 core/lib/Drupal/Core/Database/Driver/mysql/Connection.php \Drupal\Core\Database\Driver\mysql\Connection::statementClass
Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::statementClass

The name of the Statement class for this connection.

Type: string

Deprecated

in drupal:9.1.0 and is removed from drupal:10.0.0. Database drivers should use or extend StatementWrapper instead, and encapsulate client-level statement objects.

See also

https://www.drupal.org/node/3177488

File

core/lib/Drupal/Core/Database/Connection.php, line 84

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

protected $statementClass = 'Drupal\\Core\\Database\\Statement';