Open felixmosh opened 5 years ago
I'm using Mysql,
And if you query with offset & limit on a count(*) query, it will return an empty set.
Adding .offset(0) solves that issue.
.offset(0)
Select Count(*) as total from tableName Limit 20,20 will return an empty set
Select Count(*) as total from tableName Limit 20,20
I'm using Mysql,
And if you query with offset & limit on a count(*) query, it will return an empty set.
Adding
.offset(0)
solves that issue.Select Count(*) as total from tableName Limit 20,20
will return an empty set