Skip to main content

get_cluster_create_sql

Function get_cluster_create_sql 

Source
pub(super) async fn get_cluster_create_sql(
    client: &Client,
    name: &str,
) -> Result<Option<String>, ConnectionError>
Expand description

The canonical CREATE CLUSTER statement for a cluster, as the server renders it from the catalog. Returns None if the cluster does not exist.

Errors on unmanaged clusters.