pub trait ExecuteDsl<Conn: Connection<Backend=DB>, DB: Backend = Conn::Backend>: Sized {
fn execute(self, conn: &Conn) -> QueryResult<usize>;
}
Required Methods
Executes the given command, returning the number of rows affected. Used
in conjunction with
update
and
delete
Implementors
impl<'a, T, U, Op, Ret, Conn, DB> ExecuteDsl<Conn, DB> for BatchInsertStatement<T, &'a [U], Op, Ret> where Conn: Connection<Backend=DB>,
DB: Backend + SupportsDefaultKeyword,
InsertStatement<T, &'a [U], Op, Ret>: ExecuteDsl<Conn>
impl<'a, T, U, Op, Ret> ExecuteDsl<SqliteConnection> for BatchInsertStatement<T, &'a [U], Op, Ret> where InsertStatement<T, &'a U, Op, Ret>: ExecuteDsl<SqliteConnection>,
T: Copy,
Op: Copy,
Ret: Copy
impl<Conn, T> ExecuteDsl<Conn> for T where Conn: Connection,
T: QueryFragment<Conn::Backend> + QueryId