question: want to know what specific role ORM plays in MODEl,
1. ORM TPMODELMODELMODELsymfonyORMreposibilitysqlmodel
2. ORMMVCsql
3. DBADBAORM
1. ORM TPMODELMODELMODELsymfonyORMreposibilitysqlmodel
2. ORMMVCsql
3. DBADBAORM
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.
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.
Previous: How does the server deploy front-end separation?
Next: Thinkphp5
$condition there will be a time condition, this time condition is optional, now think if the time condition does not exist, how to remove the time condition? When the time condition exists, then add the query result of the time condition? method 1: an...