/** * Creates cross-database SQL dates. * * @return string * An appropriate SQL string for the db type and field type. */ public function getDateField() { return $this->query->getDateField("{$this->tableAlias}.{$this->realField}"); }