Skip to content

Instantly share code, notes, and snippets.

@ChrisCates
Created March 2, 2016 04:20
Show Gist options
  • Save ChrisCates/a762aef635be4d4a932c to your computer and use it in GitHub Desktop.
Save ChrisCates/a762aef635be4d4a932c to your computer and use it in GitHub Desktop.
chaingres
.new(client)
.table("")
.insert({
"column1": "value1",
"column2": "value2"
}).then(function(err,result) {
console.log(result);
})
//Transpiles to
result = "INSERT INTO (column1, column2) VALUES (value1, value2)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment