MCPcopy Create free account
hub / github.com/douglance/devsql / get_table_info

Function get_table_info

crates/vcsql/src/sql/schema.rs:1109–1111  ·  view source on GitHub ↗

Finds a table by name. Returns `None` if no table with the given name exists.

(name: &str)

Source from the content-addressed store, hash-verified

1107///
1108/// Returns `None` if no table with the given name exists.
1109pub fn get_table_info(name: &str) -> Option<&'static TableInfo> {
1110 TABLES.iter().find(|t| t.name == name)
1111}
1112
1113/// Groups tables by their category.
1114///

Callers 2

show_schemaFunction · 0.85
load_tableMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected