CartoDB / cartodb-nodejs

Node.js package for easy access to CartoDB's APIs
BSD 4-Clause "Original" or "Old" License
46 stars 34 forks source link

make it easier #1

Closed javisantana closed 12 years ago

javisantana commented 12 years ago

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() ...);

impronunciable commented 12 years ago

Totally agree. I'll send you a pull request.

javisantana commented 12 years ago

@danzajdband i've changed the library some days ago and now works like this so this ticket is closed