Skip to content

JSON.DEL count deleted null value #515

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

Merged
merged 3 commits into from
Nov 2, 2021
Merged

JSON.DEL count deleted null value #515

merged 3 commits into from
Nov 2, 2021

Conversation

oshadmi
Copy link
Collaborator

@oshadmi oshadmi commented Nov 2, 2021

JSON.DEL with a path leading to a json null should be counted by the return value

MeirShpilraien
MeirShpilraien previously approved these changes Nov 2, 2021
deleted += 1; // might delete more than a single value
}
self.data = jsonpath_lib::replace_with(self.data.take(), path, |_v| {
deleted += 1; // might delete more than a single value
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this is not needed right?

@oshadmi oshadmi merged commit 24e7edd into master Nov 2, 2021
@oshadmi oshadmi deleted the omer_del_null_count branch November 2, 2021 14:57
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

Successfully merging this pull request may close these issues.

2 participants