function Statement::__construct
Same name in this branch
- main core/modules/mysqli/src/Driver/Database/mysqli/Statement.php \Drupal\mysqli\Driver\Database\mysqli\Statement::__construct()
Same name and namespace in other branches
- 11.x core/modules/mysqli/src/Driver/Database/mysqli/Statement.php \Drupal\mysqli\Driver\Database\mysqli\Statement::__construct()
- 9 core/lib/Drupal/Core/Database/Statement.php \Drupal\Core\Database\Statement::__construct()
- 8.9.x core/lib/Drupal/Core/Database/Statement.php \Drupal\Core\Database\Statement::__construct()
Constructor.
Parameters
\Drupal\sqlite\Driver\Database\sqlite\SqliteConnection $clientConnection: Client database connection object, for example \PDO.
\Drupal\Core\Database\Connection $connection: The database connection.
string $queryString: The query string.
array $driverOptions: (optional) Driver-specific options.
bool $rowCountEnabled: (optional) Enables counting the rows matched. Defaults to FALSE.
Overrides StatementBase::__construct
File
-
core/
modules/ sqlite/ src/ Driver/ Database/ sqlite/ Statement.php, line 36
Class
- Statement
- SQLite implementation of \Drupal\Core\Database\StatementInterface.
Namespace
Drupal\sqlite\Driver\Database\sqliteCode
public function __construct(SqliteConnection $clientConnection, Connection $connection, string $queryString, protected array $driverOptions = [], bool $rowCountEnabled = FALSE) {
parent::__construct($connection, $clientConnection, $queryString, $rowCountEnabled);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.