create_database

Function create_database 

Source
pub async fn create_database(
    database: &str,
    pool: &ClickHouseConnectionPool,
) -> Result<()>
Expand description

Create a database in the remote ClickHouse instance.

ยงErrors

  • Returns an error if the ClickHouse endpoint is unreachable
  • Returns an error if the ClickHouse database fails to be created