-
Notifications
You must be signed in to change notification settings - Fork 393
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
Is Hive surpport transaction? #66
Comments
Not currently. What would you need transactions for? If you want to write multiple entries with a single disk access, you can use |
If |
Yes exactly |
Thanks @leisim |
Hi @leisim , Do you plan to implement a "transaction" on multiples boxes ? I would like to save a complete set of data, or nothing. Here is an example for an invoice and its lines/products :
|
I do but it is not high on the priority list. The next update will improve performance and introduce |
What if you need to do both e.g. ToDo app
If you want to delete categoryB at the same time as task3 is moved to categoryA which makes categoryB empty, a series of update and removal operations is probably necessary. The feature of transaction seems useful in such a case. |
I agree. It's still on my radar... |
An additional use case example would be a conditional write (reading value A and only writing value B if A satisfies a certain condition). |
@ShangyanLi Why are transactions needed for such an operation? Wouldn't it be possible to implement this with the operations currently available? |
No description provided.
The text was updated successfully, but these errors were encountered: