Page MenuHomeDevCentral

Provide a database module
ClosedPublic

Authored by dereckson on Sep 4 2018, 14:26.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 15, 19:21
Unknown Object (File)
Tue, Apr 15, 19:04
Unknown Object (File)
Tue, Apr 15, 06:15
Unknown Object (File)
Tue, Apr 15, 00:06
Unknown Object (File)
Thu, Apr 10, 10:37
Unknown Object (File)
Sat, Mar 29, 13:01
Unknown Object (File)
Mon, Mar 24, 00:43
Unknown Object (File)
Mar 20 2025, 07:32
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.