Home »
MCQs »
Flask MCQs
How many ways are provided by flask to establish the database connection?
59. How many ways are provided by flask to establish the database connection?
- 3
- 4
- 5
- 2
Answer: A) 3
Explanation:
Three ways are provided by flask to establish the database connection:
- Before_request()
- After_request()
- Teardown_ request()