Expand description
usql: interactive REPL for UQA.
Reads SQL statements terminated by ; from stdin, runs each
through uqa_engine::Engine, and prints the result rows in a
plain aligned table. A handful of meta commands round out the
REPL: \q to quit, \open <path> to switch to persistent storage,
\new to drop back to an in-memory engine, \help for the full
list. Designed for piped input as well: when stdin is not a terminal,
we read every statement until EOF and exit.
Functionsยง
- run_
from_ args - Run
usqlwith explicit arguments excluding the executable name, using the standard streams. - run_
from_ env - Run
usqlwith the current process arguments and standard streams.