Home »
MCQs »
SQLAlchemy MCQs
Which of the following functions closes the session using connection invalidation?
34. Which of the following functions closes the session using connection invalidation?
- Flush()
- Expire()
- Rollback()
- Invalidate()
Answer: D) Invalidate()
Explanation:
Invalidate() function closes the session using connection invalidation.