Page MenuHomeDevCentral

Provide a database module
ClosedPublic

Authored by dereckson on Sep 4 2018, 14:26.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jan 21, 09:44
Unknown Object (File)
Tue, Jan 14, 19:13
Unknown Object (File)
Sat, Dec 28, 14:18
Unknown Object (File)
Dec 15 2024, 07:29
Unknown Object (File)
Dec 15 2024, 07:09
Unknown Object (File)
Dec 13 2024, 09:51
Unknown Object (File)
Dec 4 2024, 17:32
Unknown Object (File)
Dec 1 2024, 16:52
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.