3 ms·
In our case the documents we move to the garbage collection already have a _type property that stores the class name and we do add a "deleted_at" property to th
by bobfunk 15y ago
In our case the documents we move to the garbage collection already have a _type property that stores the class name and we do add a "deleted_at" property to the new document in the garbage collection.
But in the end, there's no other way to do the move than creating a copy and then deleting the original. This is also neither atomic nor transactional, but since we create the copy in the garbage collection before deleting we won't loose data no matter what...