pub trait Delete<'until_build, 'post_query> {
// Required methods
fn where_clause(
self,
condition: &'until_build Condition<'post_query>,
) -> Self;
fn build(self) -> (String, Vec<Value<'post_query>>);
}
Expand description
Trait representing a delete builder.
Required Methods§
Sourcefn where_clause(self, condition: &'until_build Condition<'post_query>) -> Self
fn where_clause(self, condition: &'until_build Condition<'post_query>) -> Self
Adds the a Condition to the delete query.
Parameter:
condition
: Condition to apply to the delete operation
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.