use crate::{
codec::CodecController,
collection::Vector,
database::schema_manager::{Commands, SchemaManagement},
};
use alloc::string::String;
impl<E> Commands<E>
where
E: SchemaManagement,
{
#[inline]
pub async fn clear(&mut self) -> Result<(), <E::Database as CodecController>::Error> {
self.executor.clear((&mut String::new(), &mut Vector::new())).await
}
}