Skip to main content

atomic_default

Function atomic_default 

Source
pub fn atomic_default() -> bool
Expand description

Read the app-wide atomic-transactions default. Returns false when the builder didn’t call atomic_transactions(...) (or when the ambient state hasn’t been published yet, as in unit tests that drive the ORM with .on(&pool) and never call App::build()).