Skip to content

Fix condition for limit (#5735)#118

Merged
jinzhu merged 1 commit intogo-gorm:masterfrom
robhafner:5735_2
Oct 11, 2022
Merged

Fix condition for limit (#5735)#118
jinzhu merged 1 commit intogo-gorm:masterfrom
robhafner:5735_2

Conversation

@robhafner
Copy link
Copy Markdown
Contributor

The limit clause should be included when the limit value is greater than or equal to zero.

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

What did this pull request do?

User Case Description

The limit clause should be included when the limit value is greater than or equal to zero.
@jinzhu jinzhu merged commit 22036f5 into go-gorm:master Oct 11, 2022
@robhafner robhafner deleted the 5735_2 branch October 11, 2022 11:57
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