"insertMulti" function

Function to insert multiple documents using a single transaction, passing an array of documents to the function.