Crates.io | libsql-shell |
lib.rs | libsql-shell |
version | 0.1.1 |
source | src |
created_at | 2023-03-06 11:29:40.001674 |
updated_at | 2023-03-06 11:57:02.067081 |
description | Command-line interface for libSQL - an open-source and open-contribution fork of SQLite |
homepage | |
repository | |
max_upload_size | |
id | 802580 |
size | 27,905 |
This project contains libSQL's new shell,
implemented in Rust on top of a few industry standard crates: rusqlite
, rustyline
, clap
, tracing
, etc.
The long-term goal of this project is to:
This project is still in early development phase, so expect missing items!
$ ./libsql
libSQL version 0.2.0
Connected to a transient in-memory database.
libsql> create table test(id, v);
libsql> insert into test values(42, zeroblob(12));
libsql> insert into test values(3.14, 'hello');
libsql> insert into test values(null, null);
libsql> select id, v, length(v), hex(v) from test;
id | v | length(v) | hex(v)
------+--------------------+-----------+--------------------------
42 | 0xAAAAAAAAAAAAAAAA | 12 | 000000000000000000000000
3.14 | hello | 5 | 68656C6C6F
null | null | null |
libsql>