MCPcopy Create free account
hub / github.com/douglance/devsql / drop_index

Method drop_index

crates/ccql/src/sql/composite_storage.rs:686–694  ·  view source on GitHub ↗
(&mut self, table_name: &str, index_name: &str)

Source from the content-addressed store, hash-verified

684 }
685
686 async fn drop_index(&mut self, table_name: &str, index_name: &str) -> Result<()> {
687 if self.is_virtual_table(table_name) {
688 Err(GlueError::StorageMsg(
689 "Cannot drop index on virtual table".to_string(),
690 ))
691 } else {
692 self.json_storage.drop_index(table_name, index_name).await
693 }
694 }
695}
696
697// Implement AlterTable (delegate to JsonStorage)

Callers

nothing calls this directly

Calls 1

is_virtual_tableMethod · 0.80

Tested by

no test coverage detected