db query

Query a database using SQL.

Signature

> db query (query)

Parameters

  • query: SQL to execute against the database

Examples

Get 1 table out of a SQLite database

> db open foo.db | db query "SELECT * FROM Bar"