pub trait GraphTableSourceExt {
// Required method
fn add_table_source(&mut self, source: TableSource) -> NodeId;
}Expand description
Adds add_table_source to [rindle::graph::Graph] — the ergonomic equivalent of the
former inherent Graph::add_table_source, now that TableSource lives in this
crate. Delegates to the core [Graph::add_dyn_source].
ⓘ
use rindle_sqlite::GraphTableSourceExt;
let id = graph.add_table_source(table_source);Required Methods§
Sourcefn add_table_source(&mut self, source: TableSource) -> NodeId
fn add_table_source(&mut self, source: TableSource) -> NodeId
Add a SQLite TableSource as a graph leaf and return its NodeId.