Closed nabils closed 3 years ago
Insert is currently async but it does not return a promise. As far as I can see there is no way to know when an insert of multiple records to a collection has completed? Is this possible?
Thanks
It does seem to be sync actually. Closing this
@nabils Exactly operations above Collections are synchronous. Saving function saveDatabase can be asynchronous and accepts callback.
saveDatabase
Insert is currently async but it does not return a promise. As far as I can see there is no way to know when an insert of multiple records to a collection has completed? Is this possible?
Thanks