public function HandlerBase::getDateField

Creates cross-database SQL dates.

Return value

string An appropriate SQL string for the db type and field type.

1 call to HandlerBase::getDateField()
HandlerBase::getDateFormat in drupal/core/modules/views/lib/Drupal/views/Plugin/views/HandlerBase.php
Creates cross-database SQL date formatting.

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/HandlerBase.php, line 633
Definition of Drupal\views\Plugin\views\HandlerBase.

Class

HandlerBase

Namespace

Drupal\views\Plugin\views

Code

public function getDateField() {
  return $this->query
    ->getDateField("{$this->tableAlias}.{$this->realField}");
}