pub fn pool() -> &'static DatabaseConnection
Returns the global connection, panicking if init/set_pool was never called. Use from request handlers where boot is guaranteed to have run.
init
set_pool