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

Method lookup_array

nodedb-sql/src/catalog.rs:80–82  ·  view source on GitHub ↗

Look up an array by name. Returns `None` if no array with that name is registered. The default implementation returns `None` so that catalog adapters predating array support compile without change — the array DML planner falls back to "array not found" in that case.

(&self, _name: &str)

Source from the content-addressed store, hash-verified

78 /// change — the array DML planner falls back to "array not found"
79 /// in that case.
80 fn lookup_array(&self, _name: &str) -> Option<ArrayCatalogView> {
81 None
82 }
83
84 /// Cheap existence check; the default delegates to `lookup_array`.
85 fn array_exists(&self, name: &str) -> bool {

Callers 1

array_existsMethod · 0.45

Implementers 8

array_dml.rsnodedb-sql/src/planner/array_dml.rs
tests.rsnodedb-sql/src/planner/array_fn/tests.
entry_ann.rsnodedb-sql/src/planner/select/entry_an
tests.rsnodedb-sql/src/planner/select/tests.rs
entry.rsnodedb-sql/src/planner/select/entry.rs
schema_qualified_rejection.rsnodedb-sql/tests/schema_qualified_reje
catalog_adapter.rsnodedb/src/control/planner/catalog_ada
test_group_by_alias.rsnodedb/tests/executor_tests/test_group

Calls

no outgoing calls

Tested by

no test coverage detected