Crate ts_sql

Crate ts_sql 

Source
Expand description

Helper utilities for working with SQL.

Re-exports§

pub use postgres;
pub use postgres_protocol;
pub use postgres_types;

Enums§

MigrationError
Error variants for migrating a database.

Traits§

FromRow
Convert a row to an instance of self.
ParseFromRow
Parse a type from a row.
SqlError
Trait for mapping certain postgres errors.

Functions§

perform_migrations
Runs the migrations in current_dir()/migrations/*.sql on the client, migrations are executed in name order.