pub(super) async fn get_connection_create_sql(
client: &Client,
database: &str,
schema: &str,
name: &str,
) -> Result<Option<String>, ConnectionError>Expand description
Get the CREATE CONNECTION SQL for an existing connection.
Uses SHOW CREATE CONNECTION which returns the canonical, non-redacted SQL
including fully-qualified secret references. Returns None if the
connection does not exist.