Skip to main content

db

Function db 

Source
pub fn db() -> DatabaseConnection
Expand description

Returns a clone of the thread-local database connection.

Panics when no connection has been established on the current thread.