What does the atomic() context manager guarantee?
- A Faster queries
- B That the enclosed database operations either all commit or all roll back
- C That queries run in parallel
- D That the cache is refreshed
Answer
That the enclosed database operations either all commit or all roll back
transaction.atomic wraps operations in a database transaction. Nesting creates savepoints rather than independent transactions.





