Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including db-nuodb with all npm packages installed. Try it out:

var dbNuodb = require("db-nuodb")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

db-nuodb v2.0.2

NuoDB database bindings for Node.JS

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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free