2022-02-06 01:14:56 +00:00
|
|
|
use crate::dbs::Executor;
|
|
|
|
use crate::dbs::Options;
|
|
|
|
use crate::dbs::Runtime;
|
|
|
|
use crate::dbs::Statement;
|
|
|
|
use crate::doc::Document;
|
|
|
|
use crate::err::Error;
|
|
|
|
|
|
|
|
impl Document {
|
|
|
|
pub async fn erase(
|
|
|
|
&mut self,
|
|
|
|
ctx: &Runtime,
|
2022-02-06 21:06:52 +00:00
|
|
|
opt: &Options,
|
2022-02-06 01:14:56 +00:00
|
|
|
exe: &Executor<'_>,
|
|
|
|
_stm: &Statement<'_>,
|
|
|
|
) -> Result<(), Error> {
|
|
|
|
self.current.clear(ctx, opt, exe).await
|
|
|
|
}
|
|
|
|
}
|