Struct odbc_api::Prepared[][src]

pub struct Prepared<'open_connection> { /* fields omitted */ }
Expand description

A prepared query. Prepared queries are useful if the similar queries should executed more than once.

Implementations

Execute the prepared statement.

  • params: Used to bind these parameters before executing the statement. You can use () to represent no parameters. In regards to binding arrays of parameters: Should params specify a parameter set size of 0, nothing is executed, and Ok(None) is returned. See the crate::parameter module level documentation for more information on how to pass parameters.

Describes parameter marker associated with a prepared SQL statement.

Parameters
  • parameter_number: Parameter marker number ordered sequentially in increasing parameter order, starting at 1.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.