Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
agent-sql
command
|
|
|
internal
|
|
|
cli
Package cli implements the cobra command tree for agent-sql.
|
Package cli implements the cobra command tree for agent-sql. |
|
cli/shared
Package shared provides helpers shared across CLI sub-packages.
|
Package shared provides helpers shared across CLI sub-packages. |
|
config
Package config handles reading and writing the agent-sql configuration file.
|
Package config handles reading and writing the agent-sql configuration file. |
|
credential
Package credential handles reading and writing stored credentials.
|
Package credential handles reading and writing stored credentials. |
|
driver
Package driver defines the shared interface that all database drivers implement.
|
Package driver defines the shared interface that all database drivers implement. |
|
driver/cockroachdb
Package cockroachdb implements the CockroachDB driver as a thin wrapper over the PostgreSQL driver.
|
Package cockroachdb implements the CockroachDB driver as a thin wrapper over the PostgreSQL driver. |
|
driver/duckdb
Package duckdb implements the DuckDB driver as a subprocess.
|
Package duckdb implements the DuckDB driver as a subprocess. |
|
driver/mariadb
Package mariadb provides a thin wrapper over the MySQL driver with variant set to "mariadb".
|
Package mariadb provides a thin wrapper over the MySQL driver with variant set to "mariadb". |
|
driver/mssql
Package mssql implements the Microsoft SQL Server driver using database/sql.
|
Package mssql implements the Microsoft SQL Server driver using database/sql. |
|
driver/mysql
Package mysql implements the MySQL/MariaDB driver using go-sql-driver/mysql.
|
Package mysql implements the MySQL/MariaDB driver using go-sql-driver/mysql. |
|
driver/pg
Package pg implements the PostgreSQL driver using pgx/v5 directly.
|
Package pg implements the PostgreSQL driver using pgx/v5 directly. |
|
driver/snowflake
Package snowflake implements the Snowflake driver using the SQL REST API v2.
|
Package snowflake implements the Snowflake driver using the SQL REST API v2. |
|
driver/sqlite
Package sqlite implements the SQLite driver using modernc.org/sqlite (pure Go).
|
Package sqlite implements the SQLite driver using modernc.org/sqlite (pure Go). |
|
errors
Package errors provides error classification for database errors.
|
Package errors provides error classification for database errors. |
|
output
Package output handles formatting and writing query results and errors.
|
Package output handles formatting and writing query results and errors. |
|
resolve
Package resolve maps connection aliases, URLs, and file paths to concrete driver connections.
|
Package resolve maps connection aliases, URLs, and file paths to concrete driver connections. |
|
testutil/mockservers
Package mockservers provides mock database servers for testing.
|
Package mockservers provides mock database servers for testing. |
|
truncation
Package truncation provides string truncation with metadata tracking.
|
Package truncation provides string truncation with metadata tracking. |
Click to show internal directories.
Click to hide internal directories.