Page MenuHomeDevCentral

Provide a database module
ClosedPublic

Authored by dereckson on Sep 4 2018, 14:26.
Tags
None
Referenced Files
F3604830: D1662.id4241.diff
Sun, Sep 29, 16:39
F3601989: D1662.diff
Sat, Sep 28, 22:50
Unknown Object (File)
Tue, Sep 24, 00:45
Unknown Object (File)
Tue, Sep 17, 12:11
Unknown Object (File)
Sun, Sep 15, 18:39
Unknown Object (File)
Fri, Sep 6, 11:53
Unknown Object (File)
Thu, Sep 5, 10:09
Unknown Object (File)
Thu, Sep 5, 09:51
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 Passed
Unit
No Test Coverage
Branch
database (branched from master)
Build Status
Buildable 2607
Build 2855: arc lint + arc unit

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.