You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Using .Limit(0) clears the limit.
To Reproduce
Any query using .Limit(0).
Expected behavior .Limit(0) should append LIMIT 0 to the query.
Dialect:
postgres
mysql
sqlite3
Additional context
I know this is kind of a weird use case, but it allows for SELECT 1, 2, 3 FROM dual-style Oracle queries. There also appears to be a ClearLimit() function, so Limit(0) doesn't overlap with it.
The text was updated successfully, but these errors were encountered:
Describe the bug
Using
.Limit(0)
clears the limit.To Reproduce
Any query using
.Limit(0)
.Expected behavior
.Limit(0)
should appendLIMIT 0
to the query.Dialect:
Additional context
I know this is kind of a weird use case, but it allows for
SELECT 1, 2, 3 FROM dual
-style Oracle queries. There also appears to be aClearLimit()
function, soLimit(0)
doesn't overlap with it.The text was updated successfully, but these errors were encountered: