/// Download a flat (unpivoted with all columns) CSV.
Download a flat (unpivoted with all columns) CSV.
Download a flat ( unpivoted with all columns ) CSV .
pub async fn download_flat(table: &JsPerspectiveTable) -> Result<(), JsValue> {
    let view = table.view(&ViewConfig::default().as_jsvalue()?).await?;
    download_async(&view).await?;
    view.delete().await
}
pub async fn download_flat ( table : & JsPerspectiveTable ) -> Result < ( ) , JsValue > { let view = table . view ( & ViewConfig :: default ( ) . as_jsvalue ( ) ? ) . await ? ; download_async ( & view ) . await ? ; view . delete ( ) . await }
Download a flat (unpivoted with all columns) CSV.
Download a flat ( unpivoted with all columns ) CSV .
table
&JsPerspectiveTable