You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to close and delete a document from the server when all clients disconnect. Is this possible somehow?
I've tried manually deleting the document from the database and all its related ops (using livedb with mongo). The problem is that after its deleted manually, when it gets requested again we recreate it with the same id. This causes issues as probably the document is still open on the server with a different version..
Basically I want to remove the document from memory and from the database - can this be done?
The text was updated successfully, but these errors were encountered:
I am trying to close and delete a document from the server when all clients disconnect. Is this possible somehow?
I've tried manually deleting the document from the database and all its related ops (using livedb with mongo). The problem is that after its deleted manually, when it gets requested again we recreate it with the same id. This causes issues as probably the document is still open on the server with a different version..
Basically I want to remove the document from memory and from the database - can this be done?
The text was updated successfully, but these errors were encountered: