sfackler / rust-postgres

Native PostgreSQL driver for the Rust programming language
Apache License 2.0
3.42k stars 436 forks source link

Add query_with_text_format fn #1082

Closed tobyhede closed 9 months ago

tobyhede commented 9 months ago

Adds support for specifying a FormatCode and creates a new function to query with text format.

Defaults to Binary for all operations except the new function. Current behaviour and tests should be unchanged.