Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: limit=0 results (#5735) #114

Merged
merged 1 commit into from
Oct 7, 2022
Merged

fix: limit=0 results (#5735) #114

merged 1 commit into from
Oct 7, 2022

Conversation

robhafner
Copy link
Contributor

  • [] Do only one thing
  • [] Non breaking API changes
  • [] Tested

What did this pull request do?

User Case Description

@jinzhu jinzhu merged commit 2609fe6 into go-gorm:master Oct 7, 2022
robhafner added a commit to robhafner/sqlite that referenced this pull request Oct 7, 2022
Limit of 0 is being incorrectly reset to -1. Updating <= 0 condition to just < 0.
bgtill added a commit to tillfinancial/gorm-snowflake that referenced this pull request Oct 12, 2023
GORM Introduced a breaking change here: go-gorm/gorm#5736
This PR makes changes to mitigate that issue. A simmilar aproach was
taken here:

go-gorm/sqlserver#70
go-gorm/sqlite#114
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants