xitca_postgres

Module statement

source
Expand description

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

Structs§

  • named prepared postgres statement without information of which Client it belongs to and lifetime cycle management
  • a statement guard contains a prepared postgres statement. the guard can be dereferenced or borrowed as Statement which can be used for query apis.
  • a named statement with it’s query params
  • an unnamed statement that don’t need to be prepared separately it’s bundled together with database query it associated that can be processed with at least one-round-trip to database
  • an unnamed statement with it’s query param binding