- Flask Framework Cookbook
- Shalabh Aggarwal
- 93字
- 2021-08-05 17:17:23
Chapter 3. Data Modeling in Flask
This chapter covers one of the most important parts of any application, that is, the interaction with database systems. This chapter will take us through how Flask can connect to database systems, define models, and query the databases for retrieval and feeding of data.
In this chapter, we will cover the following recipes:
- Creating a SQLAlchemy DB instance
- Creating a basic product model
- Creating a relational category model
- Database migration using Alembic and Flask-Migrate
- Model data indexing with Redis
- Opting the NoSQL way with MongoDB
推薦閱讀
- 垃圾回收的算法與實現(xiàn)
- Servlet/JSP深入詳解
- ASP.NET動態(tài)網(wǎng)頁設計教程(第三版)
- C/C++常用算法手冊(第3版)
- HTML5 and CSS3 Transition,Transformation,and Animation
- ANSYS Fluent 二次開發(fā)指南
- Python數(shù)據(jù)結(jié)構(gòu)與算法(視頻教學版)
- Julia高性能科學計算(第2版)
- MySQL入門很輕松(微課超值版)
- .NET 4.5 Parallel Extensions Cookbook
- Python自然語言理解:自然語言理解系統(tǒng)開發(fā)與應用實戰(zhàn)
- 實驗編程:PsychoPy從入門到精通
- Flink入門與實戰(zhàn)
- Oracle 11g寶典
- 精通Spring MVC 4