Skip to content

Instantly share code, notes, and snippets.

@booo
Created July 5, 2012 00:18
Show Gist options
  • Save booo/3050252 to your computer and use it in GitHub Desktop.
Save booo/3050252 to your computer and use it in GitHub Desktop.
pg = (require "./").native
client = new pg.Client()
#client.on "error", (error) -> console.log error # this one works
client.connect((error)-> console.log error) # this one does not work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment