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?

  1. 3
  2. 4
  3. 5
  4. 2

Answer: A) 3

Explanation:

Three ways are provided by flask to establish the database connection:

  • Before_request()
  • After_request()
  • Teardown_ request()

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.