Struct sqlite_requests::query::Query [−][src]
pub struct Query { /* fields omitted */ }
Execute a single query once or multiple times with different parameters.
Methods
impl Query
[src]
impl Query
pub fn new_indexed(
sql: &str,
queued_indexed_parameters: &[&[&ToSql]]
) -> Result<Query>
[src]
pub fn new_indexed(
sql: &str,
queued_indexed_parameters: &[&[&ToSql]]
) -> Result<Query>
pub fn new_named(
sql: &str,
queued_named_parameters: &[&[(&str, &ToSql)]]
) -> Result<Query>
[src]
pub fn new_named(
sql: &str,
queued_named_parameters: &[&[(&str, &ToSql)]]
) -> Result<Query>
Trait Implementations
impl From<Query> for ProtoQueryRequest
[src]
impl From<Query> for ProtoQueryRequest
impl From<ProtoQueryRequest> for Query
[src]
impl From<ProtoQueryRequest> for Query
fn from(proto_query_request: ProtoQueryRequest) -> Self
[src]
fn from(proto_query_request: ProtoQueryRequest) -> Self
Performs the conversion.
impl Debug for Query
[src]
impl Debug for Query
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Query
[src]
impl Clone for Query
fn clone(&self) -> Query
[src]
fn clone(&self) -> Query
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Query
[src]
impl PartialEq for Query
fn eq(&self, other: &Query) -> bool
[src]
fn eq(&self, other: &Query) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Query) -> bool
[src]
fn ne(&self, other: &Query) -> bool
This method tests for !=
.
impl Request for Query
[src]
impl Request for Query
type Access = ReadOnly
type Response = Vec<QueryResultSet>
fn apply_to_tx(
&self,
tx: &mut AccessTransaction<Self::Access>
) -> Result<Self::Response>
[src]
fn apply_to_tx(
&self,
tx: &mut AccessTransaction<Self::Access>
) -> Result<Self::Response>
impl From<Query> for SqliteRequest
[src]
impl From<Query> for SqliteRequest