Docs.rs
nextsql-backend-rust-runtime-0.2.0
nextsql-backend-rust-runtime 0.2.0
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
shirakawayohane
Dependencies
bytes ^1
normal
optional
chrono ^0.4
normal
rust_decimal ^1
normal
serde_json ^1
normal
tokio-postgres ^0.7
normal
optional
uuid ^1
normal
Versions
20.19%
of the crate is documented
Go to latest version
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module tokio_postgres_impl
nextsql_
backend_
rust_
runtime
0.2.0
Module tokio_
postgres_
impl
Module Items
Structs
Enums
Functions
In crate nextsql_
backend_
rust_
runtime
nextsql_backend_rust_runtime
Module
tokio_
postgres_
impl
Copy item path
Source
Structs
§
PgClient
A wrapper around
tokio_postgres::Client
implementing the NextSQL
Client
trait.
PgRow
PgTransaction
A wrapper around
tokio_postgres::Transaction
implementing the NextSQL
Transaction
trait. Supports nested transactions (savepoints) and commit/rollback. Drop without calling
commit()
will rollback the transaction.
Enums
§
Owned
Param
An owned SQL parameter value. Used internally to convert borrowed
&dyn ToSqlParam
into owned values that can be moved into async futures.
Functions
§
convert_
params
Convert a slice of borrowed params to a vec of owned params.
to_
owned_
param
Convert a
&dyn ToSqlParam
to an owned parameter value by downcasting.