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

Deprecated: Column to Relation issues #1562

Closed
wavded opened this issue Mar 31, 2020 · 0 comments
Closed

Deprecated: Column to Relation issues #1562

wavded opened this issue Mar 31, 2020 · 0 comments

Comments

@wavded
Copy link

wavded commented Mar 31, 2020

Getting multiple warnings like:

pg: 2020/03/31 14:59:37 query.go:301: DEPRECATED: replace Column("Records.location") with Relation("Records.location")

Current code uses Column(...recordFields).

Recommended method Relation(field) doesn't allow me to spread the fields out so I have to add each field separately. Is there a work around for this? Or could this ability be added?

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

1 participant