sq is a command-line tool that provides jq-style access to structured data
sources including SQL databases and document formats like CSV, Excel, and JSON.
Key features:
- Query multiple database types (PostgreSQL, MySQL, SQLite, SQL Server, etc.)
- Cross-source joins between different databases and file formats
- Multiple output formats (JSON, CSV, Excel, HTML, XML, Markdown)
- Database inspection and schema comparison
- SQL execution with syntax highlighting
- Data import/export between sources
sq simplifies working with structured data by providing a unified interface
for querying and transforming data across various sources.
Change 15 to the FreeBSD major version you want; the rest keeps your current architecture. The files are saved under ./All/. Copy them to the other machine and install them there with pkg add. Ignore any warning that suggests pkg bootstrap -f. The quarterly or latest branch comes from your own repository configuration, not from this page.
databases/sq: Update to 0.54.1
Upstream added a DuckDB driver, whose Go bindings ship prebuilt static
libraries only for darwin, linux and windows. Build with the
duckdb_use_lib tag so that the bindings link against the system
libduckdb instead.
databases/sq: Add new port
sq is a command-line tool that provides jq-style access to structured
data sources including SQL databases and document formats. It supports
cross-source joins, multiple output formats, and unified querying across
various data sources.
WWW: https://sq.io/