function PostgresqlDateSql::__construct
Same name in other branches
- 9 core/modules/views/src/Plugin/views/query/PostgresqlDateSql.php \Drupal\views\Plugin\views\query\PostgresqlDateSql::__construct()
- 10 core/modules/views/src/Plugin/views/query/PostgresqlDateSql.php \Drupal\views\Plugin\views\query\PostgresqlDateSql::__construct()
- 11.x core/modules/views/src/Plugin/views/query/PostgresqlDateSql.php \Drupal\views\Plugin\views\query\PostgresqlDateSql::__construct()
Constructs the PostgreSQL-specific date sql class.
Parameters
\Drupal\Core\Database\Connection $database: The database connection.
File
-
core/
modules/ views/ src/ Plugin/ views/ query/ PostgresqlDateSql.php, line 59
Class
- PostgresqlDateSql
- PostgreSQL-specific date handling.
Namespace
Drupal\views\Plugin\views\queryCode
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.