bun
bun copied to clipboard
fix: allow Limit() without Order() with MSSQL
Implements workaround from https://stackoverflow.com/a/36156953 for all backends supporting feature.OffsetFetch
from ISO/ANSI SQL:2008, which specifies ORDER BY
as a requirement. This should be tested further if more backends are to be added (such as Oracle in #995 – this feature is not enable there, and there seems to be an impact noted by https://stackoverflow.com/q/48620590 and https://stackoverflow.com/q/59864964).
Closes #811