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

Method has_sequence

nodedb-test-support/src/cluster_harness/node/inspect.rs:141–143  ·  view source on GitHub ↗

Check whether a sequence with the given name exists in this node's in-memory registry.

(&self, tenant_id: u64, name: &str)

Source from the content-addressed store, hash-verified

139 /// Check whether a sequence with the given name exists in this
140 /// node's in-memory registry.
141 pub fn has_sequence(&self, tenant_id: u64, name: &str) -> bool {
142 self.shared.sequence_registry.exists(tenant_id, name)
143 }
144
145 /// Read the current counter of a sequence from this node's
146 /// in-memory registry, if present.

Calls 1

existsMethod · 0.45

Tested by

no test coverage detected