This commit is contained in:
yumoqing 2024-03-11 15:49:33 +08:00
parent e09112460f
commit 9bfca6566b

View File

@ -72,7 +72,7 @@ class MySqlor(SQLor):
return tuple(d)
def pagingSQLmodel(self):
return """select * row_number() over(order by $[sort]$) as row_num_ from (%s) A limit $[from_line]$, $[rows]$"""
return """select *, row_number() over(order by $[sort]$) as row_num_ from (%s) A limit $[from_line]$, $[rows]$"""
return """select * from (%s) A order by $[sort]$
limit $[from_line]$,$[rows]$"""