Closed jasonchuan closed 6 months ago
if limit and offset use the parameter in new gorm version,must remove config vars before bindvar to ,and then restore them.
this is necessary for limit and offset binding parameters issue https://github.com/go-gorm/gorm/pull/6806
@jinzhu please approve this commit first and add a tag for this version next step https://github.com/go-gorm/gorm/pull/6806
if limit and offset use the parameter in new gorm version,must remove config vars before bindvar to ,and then restore them.
What did this pull request do?
User Case Description
this is necessary for limit and offset binding parameters issue https://github.com/go-gorm/gorm/pull/6806