Vizzuality/cartodb-nodejs-oauth — Issue #1: make it easier
Author: javisantana
Created: 2011-12-17 21:05:04+00:00
State: open

I wanna something like this:

client = CartoDB.connect(credentials);
client.on('connect', function() {
client.sql("select * from blabla");
})

client.on('data', function(results) {
//do something with results
});

client.on('error', fucntion() ...);