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

go-queryset ignores custom column tag #11

Closed
to6ka opened this issue Oct 12, 2017 · 3 comments
Closed

go-queryset ignores custom column tag #11

to6ka opened this issue Oct 12, 2017 · 3 comments

Comments

@to6ka
Copy link
Contributor

to6ka commented Oct 12, 2017

Sample:

Value int `gorm:"column:someprefix_value"`

will result in:

func (qs QuerySet) ValueEq(value int) QuerySet {
       return qs.w(qs.db.Where("value = ?", value))
}
@DazedNConfused-
Copy link

I also have this exact issue.

jirfag pushed a commit that referenced this issue Oct 28, 2017
@jirfag
Copy link
Owner

jirfag commented Oct 28, 2017

Thank you for report!
Fixed, check it please

jirfag pushed a commit that referenced this issue Oct 29, 2017
@DazedNConfused-
Copy link

I no longer have this issue with the latest commit. Thank you for your work!

@jirfag jirfag closed this as completed Nov 3, 2017
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

No branches or pull requests

3 participants