UNPKG

formalize

Version:

Node.js NoSQL ActiveRecord ORM layer for FoundationDB

12 lines (8 loc) 253 B
fdb = require('fdb').apiVersion(200) Provider = require('../') module.exports = class FoundationDB extends Provider init: (clusterFile, callback) -> @fdb = fdb @dir = null db = fdb.open(clusterFile) process.nextTick -> callback(db)