This repository was archived by the owner on Mar 10, 2024. It is now read-only.

Description
|
async newLine (documentLink, previousUuid, uuid, content) { |
Here is a document :
{_id:..., ..., content: [{uuid:'...' , content}, ......]}
The method newLine add a new dictionary with parameters specified at the right index in content knowing the uuid of the element that precede it
Right now newLine query the index of the previous line and then insert it after the index found.
The goal is to find a way to do this in one operation, and then rewrite applyRequests with bulk write.
So my question is it possible?