zed/crates/db
Mikayla Maki 3e0f9d27a7 Made dev tools not break everything about the db
Also improved multi statements to allow out of order parameter binding in statements
Ensured that all statements are run for maybe_row and single, and that of all statements only 1 of them returns only 1 row
Made bind and column calls add useful context to errors

Co-authored-by: kay@zed.dev
2022-12-03 16:06:01 -08:00
..
src Made dev tools not break everything about the db 2022-12-03 16:06:01 -08:00
Cargo.toml WIP: Some bugs switching to database provided IDs, terminal titles don't reload when restored from serialized, workspace tests are no longer passing but should be easy to fix when it isn't 11:44 2022-12-03 16:06:01 -08:00
README.md Rebase fix + Started writing the real SQL we're going to need 2022-12-03 16:04:10 -08:00
test.db Add typed statements 2022-12-03 16:05:25 -08:00

Building Queries

First, craft your test data. The examples folder shows a template for building a test-db, and can be ran with cargo run --example [your-example].

To actually use and test your queries, import the generated DB file into https://sqliteonline.com/