Connection::$statementClass

The name of the Statement class for this connection.

Type: string|null

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';

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