aws_redshift_adapter¶
AWS Redshift adapter mixin for Redshift-specific database operations.
- class mcp_ohmy_sql.adapter.aws_redshift_adapter.AwsRedshiftAdapterMixin[source]¶
Adapter mixin for AWS Redshift operations using boto3, redshift-connector, and the db/aws_redshift module.
- get_aws_redshift_database_info(database: Database) DatabaseInfo[source]¶
Retrieves the database information for a specific database.
- Parameters:
database – The database object that contains the redshift connector and metadata.
- Returns:
A DatabaseInfo object containing the all schema details.