I'm using Pear MDB2's "Extended" module to have it automatically generate and execute SQL select statements. The help document is here:
http://pear.php.net/manual/en/package.database.mdb2.intro-auto.php
I want to get the results back from the DB in a certain order. I know, I could have my PHP program do the sorting after the results are fetched, but it turns out to be much faster if the DB sorts it.
I can't find a way in the API to tell it to use "order by" and by which columns. Is there a way to make MDB2 do this?
否,MDB2扩展模块不支持对自动准备/执行的查询的排序。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.