Trait diesel::query_dsl::methods::ExecuteDsl [−][src]
pub trait ExecuteDsl<Conn: Connection<Backend = DB>, DB: Backend = <Conn as Connection>::Backend>: Sized {
fn execute(query: Self, conn: &Conn) -> QueryResult<usize>;
}
Expand description
The execute
method
This trait should not be relied on directly by most apps. Its behavior is
provided by RunQueryDsl
. However, you may need a where clause on this trait
to call execute
from generic code.
Required methods
fn execute(query: Self, conn: &Conn) -> QueryResult<usize>
fn execute(query: Self, conn: &Conn) -> QueryResult<usize>
Execute this command