Expand description
Statement module is mostly copy/paste from tokio_postgres::statement
Structs§
- Statement
- named prepared postgres statement without information of which
Clientit belongs to and lifetime cycle management - Statement
Guarded - a statement guard contains a prepared postgres statement.
the guard can be dereferenced or borrowed as
Statementwhich can be used for query apis. - Statement
Guarded Owned - functions the same as
StatementGuarded - Statement
Named - a named statement that can be prepared separately
- Statement
Prepared Query - a named and already prepared statement with it’s query params
- Statement
Prepared Query Owned - owned version of
StatementPreparedQuery - Statement
Query - an unprepared statement with it’s query params
- Statement
SingleRTT Query - 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