[−][src]Trait sqlx::Execute
A type that may be executed against a database connection.
Required methods
fn into_parts(self) -> (&'q str, Option<<DB as Database>::Arguments>)
Returns the query to be executed and the arguments to bind against the query, if any.
Returning None
for Arguments
indicates to use a "simple" query protocol and to not
prepare the query. Returning Some(Default::default())
is an empty arguments object that
will be prepared (and cached) before execution.
Implementations on Foreign Types
impl<'q, DB> Execute<'q, DB> for &'q str where
DB: Database,
[src]
Loading content...
DB: Database,
Implementors
impl<'q, DB> Execute<'q, DB> for Query<'q, DB> where
DB: Database,
[src]
DB: Database,
impl<'q, DB, O> Execute<'q, DB> for QueryAs<'q, DB, O> where
DB: Database,
O: Send,
[src]
DB: Database,
O: Send,