Module db_sqlx_postgres::dev [−][src]
Expand description
useful imports for supporting a new database
Re-exports
pub use super::Database;
Modules
useful imports for supporting a new database
represents all the ways a trait can fail using this crate
meta operations like migration and connecting to a database
useful imports for users working with a supported database
Test utilities
Structs
data structure describing credentials of a user
payload to register a user with username and email
data structure containing only a password field
payload to update email in the database
payload to update a username in database
payload to register a user with only username
Enums
Error data structure grouping various error subtypes
Represents all the ways a method can fail within SQLx.
Traits
Create databse connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
database migrations
Functions
map postgres errors to DBError types
Type Definitions
Convenience type alias for grouping driver-specific errors
Generic result data structure