MCPcopy Create free account
hub / github.com/SeaQL/sea-orm / table_column

Function table_column

src/query/loader.rs:443–449  ·  view source on GitHub ↗
(tbl: &TableRef, col: &DynIden)

Source from the content-addressed store, hash-verified

441}
442
443fn table_column(tbl: &TableRef, col: &DynIden) -> ColumnRef {
444 match tbl.to_owned() {
445 TableRef::Table(tbl) => (tbl, col.clone()).into_column_ref(),
446 TableRef::SchemaTable(sch, tbl) => (sch, tbl, col.clone()).into_column_ref(),
447 val => unimplemented!("Unsupported TableRef {val:?}"),
448 }
449}
450
451#[cfg(test)]
452mod tests {

Callers 1

prepare_conditionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected