Description
Hi all. ShareDB is amazing, and we're using it very extensively in a platform for collaborative learning. We often need to generate larger numbers of documents with similar contents, for example 200 documents all containing an empty object (for 200 student groups). Sometimes there will be prefilled content.
Initially we were subscribing to a document, and then creating when the document was loaded. I then realized that if we can guarantee that the document does not exist, we can directly create it, without first subscribing to it. This is faster, but it still takes time to issue all of the document creation requests. Is there a way of mass-creating a list of documents with similar content, or batching ops to create a bunch of documents with different contents? (We can be sure that these documents don't already exist).
thank you very much