wtx 0.28.0

A collection of different transport implementations and related tools focused primarily on web technologies.
use crate::{
  database::{
    Identifier,
    schema_manager::{Commands, SchemaManagement},
  },
  misc::Vector,
};
use alloc::string::String;

impl<E> Commands<E>
where
  E: SchemaManagement,
{
  /// Tries to clear all objects of a database, including separated namespaces/schemas.
  #[inline]
  pub async fn clear(
    &mut self,
    buffer: (&mut String, &mut Vector<Identifier>),
  ) -> crate::Result<()> {
    self.executor.clear(buffer).await
  }
}