/// Deletes catalog.
///
/// **Always create a backup before wiping your data!**
///
/// This also works for broken catalogs. Also succeeds if no catalog is present.
///
/// Note that wiping the catalog will NOT wipe any referenced parquet files.
Deletes catalog.
Always create a backup before wiping your data!

This also works for broken catalogs. Also succeeds if no catalog is present.

Note that wiping the catalog will NOT wipe any referenced parquet files.
Deletes catalog . Always create a backup before wiping your data! This also works for broken catalogs . Also succeeds if no catalog is present . Note that wiping the catalog will NOT wipe any referenced parquet files .
pub async fn wipe(
        object_store: &ObjectStore,
        server_id: ServerId,
        db_name: &str,
    ) -> Result<()> {
        for (path, _revision_counter, _uuiud) in
            list_transaction_files(object_store, server_id, db_name).await?
        {
            object_store.delete(&path).await.context(Write)?;
        }
        Ok(())
    }
pub async fn wipe ( object_store : & ObjectStore , server_id : ServerId , db_name : & str , ) -> Result < ( ) > { for ( path , _revision_counter , _uuiud ) in list_transaction_files ( object_store , server_id , db_name ) . await ? { object_store . delete ( & path ) . await . context ( Write ) ? ; } Ok ( ( ) ) }
Deletes catalog.
Deletes catalog .
object_store
&ObjectStore
server_id
ServerId
db_name
&str