public function titleQuery()
    {
        $query = $this->dsql()->del('fields');
        /** @type Field $el */
        $el = $this->hasElement($this->title_field);
        if ($this->title_field && $el) {
            $el->updateSelectQuery($query);

            return $query;
        }

        return $query->field($query->concat('Record #', $this->getElement($this->id_field)));
    }
public function titleQuery()
    {
        $query = $this->dsql()->del('fields');
        /** @type Field $el */
        $el = $this->hasElement($this->title_field);
        if ($this->title_field && $el) {
            $el->updateSelectQuery($query);

            return $query;
        }

        return $query->field($query->concat('Record #', $this->getElement($this->id_field)));
    }
public function titleQuery ( ) { $ query = $ this -> dsql ( ) -> del ( 'fields' ) ; /** @type Field $el */ $ el = $ this -> hasElement ( $ this -> title_field ) ; if ( $ this -> title_field && $ el ) { $ el -> updateSelectQuery ( $ query ) ; return $ query ; } return $ query -> field ( $ query -> concat ( 'Record #' , $ this -> getElement ( $ this -> id_field ) ) ) ; }
Returns query which selects title field
Returns query which selects title field