Rocket/contrib/sync_db_pools/codegen/src
Sergio Benitez 04819d8cfd Add pool retrieval to sync_db_pools.
Generates a new method on attributed types, `pool()`, which returns an
opaque reference to a type that can be used to get pooled connections.

Also adds a code-generated example to the crate docs which includes
real, proper function signatures and fully checked examples.

Resolves #1884.
Closes #1972.
2022-05-24 16:47:09 -07:00
..
database.rs Add pool retrieval to sync_db_pools. 2022-05-24 16:47:09 -07:00
lib.rs Add missing documentation for the `run()` method generated by `#[database]`. 2021-06-17 17:31:53 -07:00