cache as ES6

This commit is contained in:
Florent Vilmart
2016-02-24 15:55:11 -05:00
parent c0714b9b9d
commit c4abd1e267
11 changed files with 64 additions and 82 deletions

View File

@@ -13,11 +13,11 @@
// * This list is incomplete and the database process is not fully modularized.
//
// Default is ExportAdapter, which uses mongo.
import cache from './cache';
var ExportAdapter = require('./ExportAdapter');
var adapter = ExportAdapter;
var cache = require('./cache');
var dbConnections = {};
var databaseURI = 'mongodb://localhost:27017/parse';
var appDatabaseURIs = {};