filmov
tv
#FASTAPI #CURD #SQLite #ORM #SQLALCHEMY #REST #API #PYTHON #AmTechLearner
![preview_player](https://i.ytimg.com/vi/C5WA0lCwnDA/maxresdefault.jpg)
Показать описание
In this video, you will learn how to implement CRUD(Create, Read, Update, Delete) Operation using FAST API. I have used SQLite database with ORM(Object Relation Mapper) SQLAlchemy.
----------------------------------------------------------------------------------
check_same_thread:
it means whether you want to run it on a single thread or multi-thread. By default, check_same_thread is True and only the creating thread may use the connection. If set False, the returned connection may be shared across multiple threads
---------------------------------------------------------------------------------
model vs schema:
A data model in a database should be relational which means it is described by tables. The data describes how the data is stored and organized. A data model may belong to one or more schemas, usually, it just belongs to one schema
A schema is a collection of database objects that are logically grouped together. These can be anything, tables, views, stored procedure etc. Schemas are typically used to logically group objects in a database.
-------------------------------------------------------------------------------
----------------------------------------------------------------------------------
check_same_thread:
it means whether you want to run it on a single thread or multi-thread. By default, check_same_thread is True and only the creating thread may use the connection. If set False, the returned connection may be shared across multiple threads
---------------------------------------------------------------------------------
model vs schema:
A data model in a database should be relational which means it is described by tables. The data describes how the data is stored and organized. A data model may belong to one or more schemas, usually, it just belongs to one schema
A schema is a collection of database objects that are logically grouped together. These can be anything, tables, views, stored procedure etc. Schemas are typically used to logically group objects in a database.
-------------------------------------------------------------------------------
Комментарии