Struct coord::session::PreparedStatement [−][src]
pub struct PreparedStatement {
sql: Option<Statement<Raw>>,
desc: StatementDesc,
pub catalog_revision: u64,
}
Expand description
A prepared statement.
Fields
sql: Option<Statement<Raw>>
desc: StatementDesc
catalog_revision: u64
The most recent catalog revision that has verified this statement.
Implementations
pub fn new(
sql: Option<Statement<Raw>>,
desc: StatementDesc,
catalog_revision: u64
) -> PreparedStatement
pub fn new(
sql: Option<Statement<Raw>>,
desc: StatementDesc,
catalog_revision: u64
) -> PreparedStatement
Constructs a new prepared statement.
Returns the raw SQL string associated with this prepared statement, if the prepared statement was not the empty query.
Returns the description of the prepared statement.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PreparedStatement
impl Send for PreparedStatement
impl Sync for PreparedStatement
impl Unpin for PreparedStatement
impl UnwindSafe for PreparedStatement
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more