Skip to content
New issue

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

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

Already on GitHub? # to your account

support named params in Select API #4142

Merged
merged 2 commits into from
Mar 7, 2021
Merged

support named params in Select API #4142

merged 2 commits into from
Mar 7, 2021

Conversation

ratanphayade
Copy link
Contributor

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

What did this pull request do?

Adds support for named argument In Select API

User Case Description

refer: issue #4140

@ratanphayade ratanphayade changed the title support named params in section API support named params in Select API Mar 5, 2021
@daheige
Copy link
Contributor

daheige commented Mar 7, 2021

After reading your adjustments, it is true that for functional design, try to maintain the KISS single design principle. Give you a thumbs up, great job.

@jinzhu jinzhu merged commit a3abb5f into go-gorm:master Mar 7, 2021
jinzhu pushed a commit that referenced this pull request Mar 8, 2021
* for Config.cacheStore store PreparedStmtDB key

* invalid db error and value and invalid value length error (#4151)

* support named params in Select API  (#4142)

* adds support for named arguments in select

* changes clause identifies and adds test

* optimize match english letters and midline

Co-authored-by: Ratan Phayade <ratanphayade@users.noreply.github.com>
mittwillson pushed a commit to itering/gorm that referenced this pull request Sep 27, 2021
* adds support for named arguments in select

* changes clause identifies and adds test
mittwillson pushed a commit to itering/gorm that referenced this pull request Sep 27, 2021
* for Config.cacheStore store PreparedStmtDB key

* invalid db error and value and invalid value length error (go-gorm#4151)

* support named params in Select API  (go-gorm#4142)

* adds support for named arguments in select

* changes clause identifies and adds test

* optimize match english letters and midline

Co-authored-by: Ratan Phayade <ratanphayade@users.noreply.github.com>
cgxxv pushed a commit to cgxxv/gorm that referenced this pull request Mar 25, 2022
* adds support for named arguments in select

* changes clause identifies and adds test
cgxxv pushed a commit to cgxxv/gorm that referenced this pull request Mar 25, 2022
* for Config.cacheStore store PreparedStmtDB key

* invalid db error and value and invalid value length error (go-gorm#4151)

* support named params in Select API  (go-gorm#4142)

* adds support for named arguments in select

* changes clause identifies and adds test

* optimize match english letters and midline

Co-authored-by: Ratan Phayade <ratanphayade@users.noreply.github.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants