Skip to main content

Module db

Module db 

Source
Expand description

Centralized database type aliases.

Re-exports PostgreSQL-specific types from sqlx under shorter names, giving the rest of the crate a single place to reference them.

Structs§

ArgumentBuffer
Connection
A connection to a PostgreSQL database.
Db
PostgreSQL database driver.
Row
Implementation of Row for PostgreSQL.
TypeInfo
Type information for a PostgreSQL type.

Functions§

database_now
Fetches the current timestamp from the database via SELECT NOW().

Type Aliases§

Pool
An alias for Pool, specialized for Postgres.