Module statement

Module statement 

Source
Expand description

Statement module is mostly copy/paste from tokio_postgres::statement

Structs§

Statement
named prepared postgres statement without information of which Client it belongs to and lifetime cycle management
StatementGuarded
a statement guard contains a prepared postgres statement. the guard can be dereferenced or borrowed as Statement which can be used for query apis.
StatementGuardedOwned
functions the same as StatementGuarded
StatementNamed
a named statement that can be prepared separately
StatementPreparedQuery
a named and already prepared statement with it’s query params
StatementPreparedQueryOwned
owned version of StatementPreparedQuery
StatementQuery
an unprepared statement with it’s query params
StatementSingleRTTQuery
an unprepared statement with it’s query params and reference of certain executor given executor is tasked with prepare and query with a single round-trip to database