Page MenuHomeDevCentral

Provide a database module
ClosedPublic

Authored by dereckson on Sep 4 2018, 14:26.
Tags
None
Referenced Files
F4660180: D1662.id.diff
Mon, Feb 24, 07:54
F4657282: D1662.diff
Mon, Feb 24, 07:11
Unknown Object (File)
Wed, Feb 19, 01:15
Unknown Object (File)
Tue, Feb 18, 16:40
Unknown Object (File)
Tue, Feb 18, 14:21
Unknown Object (File)
Tue, Feb 18, 08:13
Unknown Object (File)
Mon, Feb 17, 15:15
Unknown Object (File)
Sun, Feb 16, 20:56
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.