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

Method bump

nodedb/src/control/server/pgwire/handler/prepared/plan_cache.rs:44–46  ·  view source on GitHub ↗

Bump the schema version. Called on CREATE/DROP/ALTER DDL.

(&self)

Source from the content-addressed store, hash-verified

42
43 /// Bump the schema version. Called on CREATE/DROP/ALTER DDL.
44 pub fn bump(&self) -> u64 {
45 self.version.fetch_add(1, Ordering::AcqRel) + 1
46 }
47}
48
49impl Default for SchemaVersion {

Callers 15

add_period_lockFunction · 0.45
drop_period_lockFunction · 0.45
persist_and_bumpFunction · 0.45
add_materialized_sumFunction · 0.45
persist_schema_changeFunction · 0.45
create_graph_indexFunction · 0.45
create_sequenceFunction · 0.45
drop_sequenceFunction · 0.45
create_typeguardFunction · 0.45
alter_typeguard_addFunction · 0.45
alter_typeguard_dropFunction · 0.45

Calls

no outgoing calls