Module database

Module database 

Source
Expand description

Database template collection

This module provides templates for various database systems:

  • PostgreSQL with extensions and replication support
  • MySQL with various storage engines
  • MongoDB with replica sets and sharding

Re-exports§

pub use postgres::PostgresConnectionString;
pub use postgres::PostgresTemplate;
pub use mysql::MysqlConnectionString;
pub use mysql::MysqlTemplate;
pub use mongodb::MongodbConnectionString;
pub use mongodb::MongodbTemplate;

Modules§

mongodb
MongoDB template for quick MongoDB container setup
mysql
MySQL template for quick MySQL container setup
postgres
PostgreSQL template for quick PostgreSQL container setup