Trait rorm_sql::delete::Delete

source ·
pub trait Delete<'until_build, 'post_query> {
    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

Adds the a Condition to the delete query.

Parameter:

  • condition: Condition to apply to the delete operation

Build the delete operation.

Returns:

  • SQL query string
  • List of Value parameters to bind to the query.

Implementors