driver-legacy/src/main/com/mongodb/DBCollection.java
public WriteResult insert(final List<? extends DBObject> documents, final WriteConcern aWriteConcern) {
        return insert(documents, aWriteConcern, null);
    }
public WriteResult insert(final List<? extends DBObject> documents, final WriteConcern aWriteConcern) {
        return insert(documents, aWriteConcern, null);
    }
Insert documents into a collection. If the collection does not exists on the server, then it will be created. If the new document
does not contain an '_id' field, it will be added.

@param documents     list of {@code DBObject}'s to be inserted
@param aWriteConcern {@code WriteConcern} to be used during operation
@return the result of the operation
@throws com.mongodb.DuplicateKeyException if the write failed to a duplicate unique key
@throws com.mongodb.WriteConcernException if the write failed due some other failure specific to the insert command
@throws MongoException if the operation failed for some other reason
@mongodb.driver.manual tutorial/insert-documents/ Insert Documents