Skip to main content

Module db

Module db 

Source
Expand description

db — direct database access at the CLI level.

One leaf today:

  • query — execute arbitrary single-statement read-only SQL with a required timeout and an optional per-response token budget.

Modules§

query
db query — execute arbitrary single-statement read-only SQL against the CLI’s local postgres pool. Returns the row set as typed JSON cells (Postgres → JSON via a per-cell decoder), with column metadata and the wire-protocol command tag.

Enums§

Command
Request
ResponseItem

Functions§

execute
execute_jq