Expand description
Shared public contracts for SAYA CLI.
Structs§
- Column
- Database
- Query
Request - A bounded query passed to a database connector.
- Query
Result - Connector-neutral tabular result. Values are JSON-compatible for CLI output.
- Schema
- Schema
Tree - A complete schema snapshot returned by a connector.
- Table
Enums§
- Connection
Error - Errors exposed by database connectors without leaking driver details.
- Database
Profile - Typed database connection profile loaded from
connections.toml. - MySql
SslMode - MySQL TLS policy. Omitted legacy profiles are upgraded by the connector to
VerifyIdentity; this type deliberately has no downgrade-capable default. - Postgres
SslMode - PostgreSQL TLS verification mode.
Nonepreserves PostgreSQL’spreferdefault for existing profiles that omitsslmode. - Secret
Ref - A reference to a secret. It is safe to serialize because it holds no value.
- Snowflake
Auth - Supported Snowflake authentication flows; browser SSO remains interactive-only.
- SqlDialect
- SQL dialect used for parsing, rendering, and connector behavior.