zed/crates/semantic_index
KCaverly e678c7d9ee swap
SystemTime for Instant throughout rate_limit_expiry tracking
2023-09-11 10:26:14 -04:00
..
src swap 2023-09-11 10:26:14 -04:00
Cargo.toml 🎨 2023-09-05 15:52:36 +02:00
README.md

WIP: Sample SQL Queries /*

create table "files" ( "id" INTEGER PRIMARY KEY, "path" VARCHAR, "sha1" VARCHAR, );

create table symbols ( "file_id" INTEGER REFERENCES("files", "id") ON CASCADE DELETE, "offset" INTEGER, "embedding" VECTOR, );

insert into "files" ("path", "sha1") values ("src/main.rs", "sha1") return id; insert into symbols ( "file_id", "start", "end", "embedding" ) values ( (id,), (id,), (id,), (id,), )

*/