Uploaded by ABHISHEK KUMAR

LxI8.1

advertisement
1. Which design pattern have you selected?
Ans Singleton Pattern
2. Present your example with an appropriate code base.
Flask, we use a single instance of database class initialized through db
= SQLAlchemy() to create models and use the database to store and
retrieve data.
Ans
Download