Rindle docs and package mapSkip to main content

ScalarCatalog

Trait ScalarCatalog 

Source
pub trait ScalarCatalog {
    // Required method
    fn source(&self, table: &str) -> Option<&dyn ScalarSource>;
}
Expand description

Maps a table name to its ScalarSource. The resolver only ever looks up the child (subquery) table — the parent is never read.

Required Methods§

Source

fn source(&self, table: &str) -> Option<&dyn ScalarSource>

The source for table, or None if this catalog does not back it.

Implementors§