/**
 * Db module.
 * @namespace lib.db
 * @author Taka Okunishi
 *
 */



/**
 * Define an object property getter with require function.
 * @private
 */
function getRequire (moduleName) {
    return {
        enumerable: true,
        get: function () {
            return require(moduleName);
        }
    };
}

// Export modules with lazy loading.
Object.defineProperties(exports, {
    connectMongoDb: getRequire('./connect_mongo_db'),
    connectSqliteDb: getRequire('./connect_sqlite_db'),
    defineModel: getRequire('./define_model'),
    model: getRequire('./model')

});
