bugfix
This commit is contained in:
parent
e09112460f
commit
9bfca6566b
@ -72,7 +72,7 @@ class MySqlor(SQLor):
|
|||||||
return tuple(d)
|
return tuple(d)
|
||||||
|
|
||||||
def pagingSQLmodel(self):
|
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]$
|
return """select * from (%s) A order by $[sort]$
|
||||||
limit $[from_line]$,$[rows]$"""
|
limit $[from_line]$,$[rows]$"""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user