Glauber Costa
0545049d59
Implement pragma database_list
...
And also the CLI option .databases, which is just manipulating that.
This is one step in the road to attach.
2025-07-21 08:49:35 -05:00
Glauber Costa
32532b4feb
Add a native MCP server
...
The SQLite command line has facilities to ingest things like csv, and
other formats. But here we are, in 2025, and I asked Claude if Turso's
CLI should, in the same vein, have a native MCP server.
Claude told me: "You're absolutely right!" "That's a great insight!"
"That's a fantastic idea!" and then proceeded to help me with the
boilerplate for this beautiful server.
Rust has a crate, mcp_server, that implements an mcp_server trait.
However, that depends on Tokio, and I think that would bloat our binary
too much.
I have also considered implementing an MCP server that operates on a
directory and allows to list many SQLite files, but figured that would
be a good job for a more advanced and specialized server, not for the
one that comes by default with the CLI. Let's go for simple.
2025-07-17 15:05:29 -05:00
Nils Koch
828d4f5016
fix clippy errors for rust 1.88.0 (auto fix)
2025-07-12 18:58:41 +03:00
Pekka Enberg
42c08b5bea
cli: Add support for .headers command
...
The `.headers` command takes `on` and `off` as parameter, supported by
SQLite, which controls whether result set header is printed in list mode.
2025-07-07 13:24:45 +03:00
Pekka Enberg
53ba3ff926
Rename limbo_core crate to turso_core
2025-06-29 09:59:17 +03:00
Anton Harniakou
6d3c63fb01
Add the .indexes command
2025-04-26 12:27:08 +03:00
Jussi Saurio
60a13c129f
io/linux: make syscallio the default (io_uring is really slow)
2025-04-10 13:32:26 +03:00
Pere Diaz Bou
2316d7ebf1
add .timer command with fine grained statistics about limbo
...
```
Limbo v0.0.19-pre.4
Enter ".help" for usage hints.
limbo> .timer on
limbo> select count(1) from users;
┌───────────┐
│ count (1) │
├───────────┤
│ 10000 │
└───────────┘
Command stats:
----------------------------
total: 35 ms (this includes parsing/coloring of cli app)
query execution stats:
----------------------------
Execution: avg=16 us, total=33 us
I/O: avg=123 ns, total=3 us
limbo> select 1;
┌───┐
│ 1 │
├───┤
│ 1 │
└───┘
Command stats:
----------------------------
total: 282 us (this includes parsing/coloring of cli app)
query execution stats:
----------------------------
Execution: avg=2 us, total=4 us
I/O: No samples available
```
2025-04-09 16:31:08 +02:00
PThorpe92
01184ec1d7
Add tracing-appender to log traces to file asyncronously
2025-04-08 19:36:38 -04:00
pedrocarlo
c36dc61c92
adding listvfs to extra helpful message
2025-03-30 02:52:07 -03:00
pedrocarlo
fe25035c7c
display name in clap is buggy
2025-03-30 01:46:24 -03:00
pedrocarlo
02c466cb1f
start of refactor of repl to use clap
2025-03-30 01:44:58 -03:00
PThorpe92
89a08b7611
Add vfslist command and setup CLI with new db open api
2025-03-12 21:52:51 -04:00
Pekka Enberg
96175cccf7
cli: Add --experimental-mvcc option to enable MVCC
2025-03-06 10:16:42 +02:00
Pere Diaz Bou
8daf7666d1
Make database Sync + Send
2025-03-05 14:07:48 +01:00
EmNudge
57c0341682
Add .dump and .load to help menu
2025-03-01 22:39:14 -05:00
Pekka Enberg
caa83b347e
cli: Rename "raw" output mode to "list"
...
Change the name of the output mode to match SQLite.
2025-02-17 21:26:15 +02:00
CK-7vn
5f02521d08
cleanup shell tests and cli
2025-02-13 00:49:12 -05:00