blob: 149478f8de59fb104cd0448555e533707225750f [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
var Database = require('./database');
var runInBatch = require('./batch');
module.exports = {
newDatabase: newDatabase,
runInBatch: runInBatch
};
function newDatabase(name, relativeName) {
return new Database(name, relativeName);
}