Skip to main content

db

Function db 

Source
pub fn db(cx: &Cx) -> Db
Expand description

Returns the pooled Db registered on the app context.

Never runs statements on another handle while a transaction holds its connection; drains or drops streaming list bodies before the next query.