Page MenuHomeDevCentral

Provide a database module
ClosedPublic

Authored by dereckson on Sep 4 2018, 14:26.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 13, 08:51
Unknown Object (File)
Tue, Nov 12, 20:39
Unknown Object (File)
Tue, Nov 12, 18:49
Unknown Object (File)
Mon, Nov 11, 09:33
Unknown Object (File)
Sun, Nov 10, 20:05
Unknown Object (File)
Sun, Nov 10, 09:40
Unknown Object (File)
Sat, Oct 26, 00:16
Unknown Object (File)
Wed, Oct 23, 08:11
Subscribers
None

Details

Summary

The database module allows to create a r2d2 pool, with PostgreSQL
Diesel connections.

The module has been prepared refactoring the code to initialize
a database pool or to test if a database connection works.

Some of the code is extracted from the Rocket manual,
see https://rocket.rs/guide/state/#databases

Test Plan

Examples provided for documentation are extracted
from API production code

Diff Detail

Repository
rLF Limiting Factor
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Sep 4 2018, 14:27
This revision was automatically updated to reflect the committed changes.