-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
Transaction Support in JsStore #44
Comments
Hi |
Hi - I have added transaction. Here is the doc - http://jsstore.net/tutorial/transaction/ . Let me know if you have any problem. |
Hi,
Thanks for the quick fix.
I shall all check the doc.
Regards,
Rais Ahmad
…On Sun, 1 Jul 2018, 21:09 Ujjwal Gupta, ***@***.***> wrote:
Hi - I have added transaction. Here is the doc -
http://jsstore.net/tutorial/transaction/ .
Let me know if you have any problem.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#44 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AVt_YCaRsnKaMqG_RWVgP52MvDHnhVPlks5uCO0agaJpZM4T2W4H>
.
|
Hello, I would like to know if it is possible to check if a transaction is in progress? The following example, I use JSStore in Angular 5 as cache and if the component was destroyed, a write process should be executed. At the same time, a component is initialized to this data record in read mode. Because of the fact that asynchronous execution occurs, this leads to the error. Greetings |
Hi I am not able to understand the situation. Can you explain more ? also what do you mean when you say - to check if a transaction is in progress ? I mean you call the transaction api and then transaction is started. Let me know what do you think? |
Hi, thanks for your response. Is there a possibility to see get the state of a process. e.g. like transaction, insert, delete, update? I need this for Angular 5 Livecircle. First Component is in ngOnDestroy and update table. Second Component is in ngOnInit and read in the same table older data because the update table is not finished. |
so you want to know what query is currently being executed right ? |
Correct or whether one is executed at all |
And also please fire other issue , we should not pollute this issue page. Thanks. |
Okay, excuse me. My question was answered with the picture. |
@erraisahmad - how is transaction working for you. Let me know , otherwise please close the issue. Thanks |
Hi,
I am working on a web app which stores some offline data in IndexedDB.
I am integrating this library into my project. I have a requirement of performing multiple operations tables in a single transaction, so that the operations can be rolled back, if any error occurs in any operation.
Indexed Db supports transaction as follows
Does JsStore support transactions where I can perform multiple CRUD operations?
Can you please let me know if I can achieve similar functionality using JsStore?
The text was updated successfully, but these errors were encountered: