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

Implement indexed update for JSONB arrays #3

Open
antoinemacia opened this issue Jul 21, 2018 · 0 comments
Open

Implement indexed update for JSONB arrays #3

antoinemacia opened this issue Jul 21, 2018 · 0 comments

Comments

@antoinemacia
Copy link
Owner

antoinemacia commented Jul 21, 2018

This can be potentially done by potentially using an array as first argument of jsonb_update method, which can contain the key chain and index to the given array

e.g jsonb_update_columns([:data,0,:quantity], 3)

@antoinemacia antoinemacia changed the title Implement indexed update for JSONB fields Implement indexed update for JSONB array fields Jul 21, 2018
@antoinemacia antoinemacia changed the title Implement indexed update for JSONB array fields Implement indexed update for JSONB arrays Jul 21, 2018
@antoinemacia antoinemacia reopened this Jul 30, 2018
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