Query the list from the database in reverse order (in chronological order)

        The news in the news management system is often the last news published first, but the last news published when SELECT * FROM t_news is executed is the last one, so if you want to view the list in reverse order, you can add a sentence to the sql statement of the query. Can

        ORDER BY `time` (or other fields) DESC (reverse order, ASC positive order (default))

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326563536&siteId=291194637