/// Generate selecting the sort key if it is needed
Generate selecting the sort key if it is needed
Generate selecting the sort key if it is needed
fn select(&self, out: &mut AstPass<Pg>) -> QueryResult<()> {
        if let Some(name) = &self.name {
            if name.as_str() != PRIMARY_KEY_COLUMN {
                out.push_sql(", c.");
                out.push_identifier(name.as_str())?;
            }
        }
        Ok(())
    }
fn select ( & self , out : & mut AstPass < Pg > ) -> QueryResult < ( ) > { if let Some ( name ) = & self . name { if name . as_str ( ) != PRIMARY_KEY_COLUMN { out . push_sql ( " " ) ; out . push_identifier ( name . as_str ( ) ) ? ; } } Ok ( ( ) ) }
Generate selecting the sort key if it is needed
Generate selecting the sort key if it is needed
&self
out
&mut AstPass<Pg>