When performing a select query over a table, the limit
keyword will not be used if orderBy is specified. For
# create SQL connection and stuff
res = Test.select(orderBy='total', limit=10)
The results will contain every row from Test, since the
resultant SQL query is similar to
"SELECT id, total FROM test ORDER BY total"
No LIMIT attribute is ever specified. Looking at the
code, this is because limit will only work when used
with the start or end keyword.