Skip to main content

Crate saya_types

Crate saya_types 

Source
Expand description

Shared public contracts for SAYA CLI.

Structs§

Column
Database
QueryRequest
A bounded query passed to a database connector.
QueryResult
Connector-neutral tabular result. Values are JSON-compatible for CLI output.
Schema
SchemaTree
A complete schema snapshot returned by a connector.
Table

Enums§

ConnectionError
Errors exposed by database connectors without leaking driver details.
DatabaseProfile
Typed database connection profile loaded from connections.toml.
MySqlSslMode
MySQL TLS policy. Omitted legacy profiles are upgraded by the connector to VerifyIdentity; this type deliberately has no downgrade-capable default.
PostgresSslMode
PostgreSQL TLS verification mode. None preserves PostgreSQL’s prefer default for existing profiles that omit sslmode.
SecretRef
A reference to a secret. It is safe to serialize because it holds no value.
SnowflakeAuth
Supported Snowflake authentication flows; browser SSO remains interactive-only.
SqlDialect
SQL dialect used for parsing, rendering, and connector behavior.