public function refSQL()
    {
        /** @type SQL_Model $q */
        $q = $this->ref('model');
        $q->addCondition($q->id_field, $this);

        return $q;
    }
public function refSQL()
    {
        /** @type SQL_Model $q */
        $q = $this->ref('model');
        $q->addCondition($q->id_field, $this);

        return $q;
    }
public function refSQL ( ) { /** @type SQL_Model $q */ $ q = $ this -> ref ( 'model' ) ; $ q -> addCondition ( $ q -> id_field , $ this ) ; return $ q ; }
Return DSQL for field

@return SQL_Model
Return DSQL for field