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

Function create_indexes

crates/devsql/src/providers/imports.rs:99–105  ·  view source on GitHub ↗
(conn: &Connection)

Source from the content-addressed store, hash-verified

97}
98
99fn create_indexes(conn: &Connection) -> Result<()> {
100 conn.execute_batch(
101 "CREATE INDEX IF NOT EXISTS idx_imports_module ON imports(module);
102 CREATE INDEX IF NOT EXISTS idx_imports_name ON imports(name);",
103 )?;
104 Ok(())
105}
106
107struct ImportRow {
108 file_path: String,

Callers 1

loadFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected