underlying storage:the underlying storage of a database typically uses a file system
python can access the database through a database interface or ORMORM does not write SQL statements by itself
PYTHONDB is the interface program required to access the database, and the interface program is a Python module that provides the interface of the database client library.
python accesses the database through the Db_api interface, DB_API provides the access interface for different databases, and porting the code in different databases is simple
Db-api Function PropertiesThe Connect method generates a Connect object that is used to link the databaseConnection object, to communicate with the database, you must first establish a connection with the database. Close () closes the database linkCommite () Submit the current thing
Python uses different packages to connect to the database, but all follow the Db_api interface, so basically it's almost
The ORM database table is converted to a Python class
From for notes (Wiz)
Basic Database Programming