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 array nested column identifiers and same-row modification #219

Open
matteofigus opened this issue Nov 23, 2020 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@matteofigus
Copy link
Member

matteofigus commented Nov 23, 2020

At the moment, it is possible to identify a row and delete the full row based on various identifier types - but not when nested within arrays.

Let's take the following example:

{ "foo": "bar", "list": [{ "customer_id": 12345 }, { "customer_id": 23456 } ]}
{ "foo": "baz", "list": [{ "customer_id": 23456 }, { "customer_id": 34567 } ]}

A desired output for deleting list.customer_id=23456 would be rewriting all the relevant rows when that would happen:

{ "foo": "bar", "list": [{ "customer_id": 12345 }]}
{ "foo": "baz", "list": [{ "customer_id": 34567 }]}

Pending questions:

  • What's the desired output of an array becoming empty? Leaving it empty or full row deletion?
@matteofigus matteofigus added the enhancement New feature or request label Nov 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant