return Promise.all(
                collections.map(data => {
                    let collection = new model();
                    collection.set(data);
                    return collection.save();