close
為了要做分頁需要用到Limit來select,使用了Limit 0,20的語法,結果都return false = =
Google了一下才知道
The SELECT ... LIMIT #,# syntax will be removed in the next release. You should change your queries to use separate LIMIT and OFFSET clauses, e.g. LIMIT 10 OFFSET 20.
pgSQL不支援LIMIT X,Y語法,需要改成LIMIT Y OFFSET X才行
全站熱搜
留言列表