阿神2017-04-17 13:03:11
General WEB programs now choose the former, and they also tend to use single-table queries.
Database stored procedures involve difficulty in development and debugging, and the performance optimization effect of stored procedures is not obvious. Moreover, a cache layer and middleware may be added between the application layer program and the database layer. Therefore, it is better to use SQL independently in the application layer code