/// Deletes all of the associated documents that match this view query.
///
/// ```rust
/// # bonsaidb_core::__doctest_prelude!();
/// # fn test_fn<C: Connection>(db: C) -> Result<(), Error> {
/// # tokio::runtime::Runtime::new().unwrap().block_on(async {
/// db.view::<ScoresByRank>().delete_docs().await?;
/// # Ok(())
/// # })
/// # }
/// ```
Deletes all of the associated documents that match this view query.
Deletes all of the associated documents that match this view query .
pub async fn delete_docs(self) -> Result<u64, Error> {
        self.connection
            .delete_docs::<V>(self.key, self.access_policy)
            .await
    }
pub async fn delete_docs ( self ) -> Result < u64 , Error > { self . connection . delete_docs :: < V > ( self . key , self . access_policy ) . await }
Deletes all of the associated documents that match this view query.
Deletes all of the associated documents that match this view query .
self
bonsaidb_core::__doctest_prelude!();
None
fn test_fn<c: connection>(db: c) -> result<(), error> {
None
tokio::runtime::runtime::new().unwrap().block_on(async {
None
ok(())
None
})
None
}
None