db-nuodb

NuoDB database bindings for Node.JS

npm install db-nuodb
28 downloads in the last week
44 downloads in the last month

NuoDB - node.js

Build Status

This module builds a native Google V8 C++ binding to let you easily integrate your node.js web applications with NuoDB.

Requirements

make g++

Install

$ npm install db-nuodb

Example

var nuodb = require('db-nuodb');
new nuodb.Database({
    hostname: 'localhost',
    user: 'root',
    password: 'password',
    database: 'node'
}).connect(function(error) {
    if (error) {
        return console.log("CONNECTION ERROR: " + error);
    }

    this.query().select('*').from('users').execute(function(error, rows) {
        if (error) {
            return console.log('ERROR: ' + error);
        }
        console.log(rows.length + ' ROWS');
    });
});

License

NuoDB License

githalytics.com alpha

npm loves you