Trait block_tools::db::use_diesel::query_dsl::methods::ExecuteDsl[][src]

pub trait ExecuteDsl<Conn, DB = <Conn as Connection>::Backend> where
    Conn: Connection<Backend = DB>,
    DB: Backend
{ pub fn execute(query: Self, conn: &Conn) -> Result<usize, Error>; }

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

pub fn execute(query: Self, conn: &Conn) -> Result<usize, Error>[src]

Execute this command

Loading content...

Implementors

impl<Conn, DB, T> ExecuteDsl<Conn, DB> for T where
    Conn: Connection<Backend = DB>,
    DB: Backend,
    T: QueryFragment<DB> + QueryId
[src]

Loading content...