function SqliteDateSql::__construct

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/query/SqliteDateSql.php \Drupal\views\Plugin\views\query\SqliteDateSql::__construct()
  2. 8.9.x core/modules/views/src/Plugin/views/query/SqliteDateSql.php \Drupal\views\Plugin\views\query\SqliteDateSql::__construct()
  3. 10 core/modules/views/src/Plugin/views/query/SqliteDateSql.php \Drupal\views\Plugin\views\query\SqliteDateSql::__construct()

Constructs the SQLite-specific date sql class.

Parameters

\Drupal\Core\Database\Connection $database: The database connection.

File

core/modules/views/src/Plugin/views/query/SqliteDateSql.php, line 68

Class

SqliteDateSql
SQLite-specific date handling.

Namespace

Drupal\views\Plugin\views\query

Code

public function __construct(Connection $database) {
    $this->database = $database;
}

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