secret
Created

  • Download Gist
simple_sql.js
JavaScript
1 2 3 4
var sql = new cartodb.SQL({ user: 'examples', format: 'geojson' });
sql.execute("SELECT * FROM table").done(function(geojson) {
console.log("here is the geojson", geojson);
});

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.