MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / remove_sequence

Method remove_sequence

crates/schema/src/schema.rs:340–342  ·  view source on GitHub ↗

Removes the given `sequence_id`

(&mut self, sequence_id: SequenceId)

Source from the content-addressed store, hash-verified

338
339 /// Removes the given `sequence_id`
340 pub fn remove_sequence(&mut self, sequence_id: SequenceId) -> Option<SequenceSchema> {
341 find_remove(&mut self.sequences, |x| x.sequence_id == sequence_id)
342 }
343
344 /// Add OR replace the [IndexSchema]
345 pub fn update_index(&mut self, of: IndexSchema) {

Callers 2

drop_sequenceMethod · 0.80

Calls 1

find_removeFunction · 0.85

Tested by

no test coverage detected