pub fn resolve_using_column(
        &self,
        column_name: &ColumnName,
        join_side: JoinSide,
    ) -> Result<ColumnRef, PlanError> {
        self.resolve_column(&[], column_name).map_err(|e| match e {
            // Attach a bit more context to unknown and ambiguous column
            // errors to match PostgreSQL.
            PlanError::AmbiguousColumn(column) => {
                PlanError::AmbiguousColumnInUsingClause { column, join_side }
            }
            PlanError::UnknownColumn { column, .. } => {
                PlanError::UnknownColumnInUsingClause { column, join_side }
            }
            _ => e,
        })
    }
/// Resolves a column name in a `USING` clause.
Resolves a column name in a `USING` clause.
Resolves a column name in a ` USING ` clause .
pub fn resolve_using_column(
        &self,
        column_name: &ColumnName,
        join_side: JoinSide,
    ) -> Result<ColumnRef, PlanError> {
        self.resolve_column(&[], column_name).map_err(|e| match e {
            // Attach a bit more context to unknown and ambiguous column
            // errors to match PostgreSQL.
            PlanError::AmbiguousColumn(column) => {
                PlanError::AmbiguousColumnInUsingClause { column, join_side }
            }
            PlanError::UnknownColumn { column, .. } => {
                PlanError::UnknownColumnInUsingClause { column, join_side }
            }
            _ => e,
        })
    }
pub fn resolve_using_column ( & self , column_name : & ColumnName , join_side : JoinSide , ) -> Result < ColumnRef , PlanError > { self . resolve_column ( & [ ] , column_name ) . map_err ( | e | match e { // Attach a bit more context to unknown and ambiguous column // errors to match PostgreSQL. PlanError :: AmbiguousColumn ( column ) => { PlanError :: AmbiguousColumnInUsingClause { column , join_side } } PlanError :: UnknownColumn { column , .. } => { PlanError :: UnknownColumnInUsingClause { column , join_side } } _ => e , } ) }
Resolves a column name in a `USING` clause.
Resolves a column name in a ` USING ` clause .
&self
column_name
&ColumnName
join_side
JoinSide
&self
column_name
&ColumnName
join_side
JoinSide