What is the specific role of ORM in mvc in php or framework

question: want to know what specific role ORM plays in MODEl,

1. ORM TPMODELMODELMODELsymfonyORMreposibilitysqlmodel
2. ORMMVCsql
3. DBADBAORM
Mar.02,2021

it can be simply understood as a tool for operating the database, and the logic of the database query operation is mapped to a function method.
for example, the where of SQL is mapped to a where () function.

the composer component I opened up yesterday https://github.com/AxiosCros/.
can be used for database connection, query and other operations with its Db class.

The function of

DBA is to design the database structure, manage and maintain the data structure changes caused by the business changes, and the more important task of
is to ensure the stability and security of the database operation.

the role of ORM is to make programming languages "communicate" with databases in a more friendly way. Through the encapsulation method, it is easy for developers to query the database without writing SQL statements directly.

Menu