In the middle of the development project, it is better to use orm or native SQL to query the database.

the company"s previous project is flask, but now we need to do a web-side background management system, whether to use flask"s orm or native SQL?.

Jan.19,2022

it is recommended to use the ORM framework. Flask has flask-sqlalchemy. Direct spelling SQL statements if there are a large number of items, or tedious operation, it is not very difficult to develop and maintain it.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3aac8-2af76.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3aac8-2af76.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?