MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / scope_with

Function scope_with

nodedb-sql/src/resolver/columns.rs:381–391  ·  view source on GitHub ↗
(info: CollectionInfo)

Source from the content-addressed store, hash-verified

379 }
380
381 fn scope_with(info: CollectionInfo) -> TableScope {
382 let mut scope = TableScope::new();
383 scope
384 .add(ResolvedTable {
385 name: info.name.clone(),
386 alias: None,
387 info,
388 })
389 .expect("add failed");
390 scope
391 }
392
393 /// A double-quoted identifier resolves as a column name (case-preserved).
394 /// `"userId"` is parsed by the SQL layer as `Expr::Identifier` with

Calls 3

expectMethod · 0.45
addMethod · 0.45
cloneMethod · 0.45