pub async fn drop_source(mz_client: &Client, name: &str) -> Result<()> {
    let q = format!("DROP SOURCE IF EXISTS {} CASCADE", name);
    log::debug!("deleting source=> {}", q);
    mz_client.execute(&*q, &[]).await?;
    Ok(())
}
/// Delete a source and all dependent views, if the source exists
Delete a source and all dependent views, if the source exists
Delete a source and all dependent views if the source exists
pub async fn drop_source(mz_client: &Client, name: &str) -> Result<()> {
    let q = format!("DROP SOURCE IF EXISTS {} CASCADE", name);
    log::debug!("deleting source=> {}", q);
    mz_client.execute(&*q, &[]).await?;
    Ok(())
}
pub async fn drop_source ( mz_client : & Client , name : & str ) -> Result < ( ) > { let q = format ! ( " " name ) ; log :: debug ! ( " " q ) ; mz_client . execute ( & * q , & [ ] ) . await ? ; Ok ( ( ) ) }
Delete a source and all dependent views, if the source exists
Delete a source and all dependent views if the source exists
mz_client
&Client
name
&str
mz_client
&Client
name
&str