'use strict';

var getMethodNames = require('method-names'),
    mongodb = require('mongodb');

function getNativeCollectionMethodNames() {
    var dummyNativeDb = { options: {}, serverConfig: { options: {} } },
        nativeCollection = new mongodb.Collection(dummyNativeDb, 'anyCollectionName');

    return getMethodNames(nativeCollection);
}

module.exports = getNativeCollectionMethodNames();

'use strict';

var getMethodNames = require('method-names'),
    mongodb = require('mongodb');

function getNativeCollectionMethodNames() {
    var dummyNativeDb = { options: {} },
        nativeCollection = new mongodb.Collection(dummyNativeDb, null, '', 'anyCollectionName', null, {});

    return getMethodNames(nativeCollection);
}

module.exports = getNativeCollectionMethodNames();

Apply all required parameters to Collection constructor
Apply all required parameters to Collection constructor
