Expand description
Helper utilities for working with SQL.
Re-exports§
pub use postgres;pub use postgres_protocol;pub use postgres_types;
Enums§
- Migration
Error - Error variants for migrating a database.
Traits§
- FromRow
- Convert a row to an instance of self.
- Parse
From Row - Parse a type from a row.
- SqlError
- Trait for mapping certain postgres errors.
Functions§
- perform_
migrations - Runs the migrations in
current_dir()/migrations/*.sqlon the client, migrations are executed in name order.