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

Support for filtering by json column attribute #33

Closed
Aerlin opened this issue Aug 30, 2018 · 2 comments
Closed

Support for filtering by json column attribute #33

Aerlin opened this issue Aug 30, 2018 · 2 comments

Comments

@Aerlin
Copy link

Aerlin commented Aug 30, 2018

I have a jsonb column in my table. So far I haven't figured out how to filter by an attribute within the column.

Glancing at Objection's jsonQueries.js file, it looks like wrapping the column name in a ref() call will let you query the value.

If that's the case. Would it be possible to add an additional service option for column names to wrap ref around?

@dekelev
Copy link
Member

dekelev commented Oct 12, 2018

@Aerlin v1.2.2 added support for querying on JSON column

@dekelev dekelev closed this as completed Oct 12, 2018
@Aerlin
Copy link
Author

Aerlin commented Oct 14, 2018

Thank you @dekelev !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants