-
Notifications
You must be signed in to change notification settings - Fork 89
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
[Feature] Deleting top-level keys #325
Comments
My understanding is that a key is neither created nor deleted. Initially it has the “bottom “ value for its data type. Resetting it to “bottom “ is the closest you get to “delete “. This is by design :-)
Marc
… Le 28 févr. 2018 à 14:55, João Neto ***@***.***> a écrit :
Hi!
Is it possible to delete top-level keys (i.e. from a bucket)?
If so, this doesn't seem to be exported through any of the APIs (Java/TypeScript).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
There has been some discussion of whether it would be interesting to
support delete or not -- I am in favor of supporting it :-)
Could you share with us the use case where it would be interesting to have
delete.
Thanks,
Nuno
…On Wed, Feb 28, 2018 at 7:58 PM, Marc Shapiro ***@***.***> wrote:
My understanding is that a key is neither created nor deleted. Initially
it has the “bottom “ value for its data type. Resetting it to “bottom “ is
the closest you get to “delete “. This is by design :-)
Marc
> Le 28 févr. 2018 à 14:55, João Neto ***@***.***> a écrit :
>
> Hi!
> Is it possible to delete top-level keys (i.e. from a bucket)?
> If so, this doesn't seem to be exported through any of the APIs
(Java/TypeScript).
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub, or mute the thread.
>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#325 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJZR8vywTVD4AjCM4F4FMp430ZRLgfXGks5tZaG4gaJpZM4SWsIn>
.
|
Hi Marc & Nuno! Thanks! :) I guess Roger asked about the possibility (LightKone/antidote-rest-server#11); probably without any specific use-case in mind (more in terms of testing). My understanding is that the A few questions:
I mean, it's just a suggestion. One that probably makes Antidote more complex without any real use-case backing it. |
Hey, the semantics of keys in buckets and maps are mainly different because the map has been designed much later and with more insight. I agree that we should try to align the semantics of both 👍 Personally, I am not in favour of offering a "delete" operation where the semantics differ from a reset. I think it would mess up the semantics of concurrent modification and deletion. We have discussed both in the past, but didn't come to a conclusion. |
Hi!
Is it possible to delete top-level keys (i.e. from a bucket)?
If so, this doesn't seem to be exported through any of the APIs (Java/TypeScript).
The text was updated successfully, but these errors were encountered: