sqlite-utils query can now read the SQL query from standard input by passing a hyphen in place of the query argument, enabling piped usage like echo "select * from dogs" | sqlite-utils query dogs.db -.
The query command gains stdin support, allowing SQL to be piped in rather than passed as a literal argument.
transcript
Simon Willison: sqlite-utils query can now read the SQL query from standard input by passing - in place of the query, for example echo "select * from dogs" | sqlite-utils query dogs.db -.