public function SqlsrvDateSql::__construct in Drupal driver for SQL Server and SQL Azure 8
Same name and namespace in other branches
- 4.2.x src/Plugin/views/query/SqlsrvDateSql.php \Drupal\sqlsrv\Plugin\views\query\SqlsrvDateSql::__construct()
- 3.0.x src/Plugin/views/query/SqlsrvDateSql.php \Drupal\sqlsrv\Plugin\views\query\SqlsrvDateSql::__construct()
- 3.1.x src/Plugin/views/query/SqlsrvDateSql.php \Drupal\sqlsrv\Plugin\views\query\SqlsrvDateSql::__construct()
- 4.0.x src/Plugin/views/query/SqlsrvDateSql.php \Drupal\sqlsrv\Plugin\views\query\SqlsrvDateSql::__construct()
- 4.1.x src/Plugin/views/query/SqlsrvDateSql.php \Drupal\sqlsrv\Plugin\views\query\SqlsrvDateSql::__construct()
Constructs the MSSQL-specific date sql class.
Parameters
\Drupal\Core\Database\Connection $database: The database connection.
File
- src/
Plugin/ views/ query/ SqlsrvDateSql.php, line 54
Class
- SqlsrvDateSql
- MSSQL-specific date handling.
Namespace
Drupal\sqlsrv\Plugin\views\queryCode
public function __construct(Connection $database) {
$this->database = $database;
}