limbo/cli
Glauber Costa 988b16f962 Support ATTACH (read only)
Support for attaching databases. The main difference from SQLite is that
we support an arbitrary number of attached databases, and we are not
bound to just 100ish.

We for now only support read-only databases. We open them as read-only,
but also, to keep things simple, we don't patch any of the insert
machinery to resolve foreign tables.  So if an insert is tried on an
attached database, it will just fail with a "no such table" error - this
is perfect for now.

The code in core/translate/attach.rs is written by Claude, who also
played a key part in the boilerplate for stuff like the .databases
command and extending the pragma database_list, and also aided me in
the test cases.
2025-07-24 19:19:48 -05:00
..
commands check if db is initialized before .import 2025-07-24 23:18:29 +08:00
config cli: fix not being able to redirect traces to a file from inline query 2025-07-16 13:55:48 +03:00
docs config docs 2025-05-17 15:51:17 -03:00
app.rs Support ATTACH (read only) 2025-07-24 19:19:48 -05:00
build.rs adding table colors 2025-03-06 15:52:20 -03:00
Cargo.toml Add a native MCP server 2025-07-17 15:05:29 -05:00
helper.rs make all run_once be run under statement or connection so that rollback is called 2025-07-07 11:51:25 -03:00
input.rs Implement pragma database_list 2025-07-21 08:49:35 -05:00
main.rs Add a native MCP server 2025-07-17 15:05:29 -05:00
mcp_server.rs Fix clippy warnings 2025-07-18 11:26:10 -03:00
opcodes_dictionary.rs fix: lint warnings 2024-07-08 22:43:11 +05:30
SQL.sublime-syntax highlight candidate 2025-03-06 16:33:23 -03:00