I'm starting to collect some useful DuckDB stuff here:
https://github.com/marhar/duckdb_tools
The first tool is duckwatch, which allows you to edit a SQL file and see the output continuously updated in another window. It's a poor programmer's IDE!
You can run it a couple of ways:
$ duckwatch [-e] my-file.sql. # runs your commands in a transient db.
# every time you save your sql file, the
# file is re-executed from scratch.
$ duckwatch [-e]my-file.sql my.db. # same, but runs it using this db file.
# changes are persistent.
$
No comments:
Post a Comment