Skip to content
brianc edited this page Nov 1, 2010 · 66 revisions

Basically a facade on top of the connection to provide a much more user friendly, "node style" interface for doing all the lovely things you like with PostgreSQL.

new Client(Object config) : Client

parameters
  • config: [object] can contain any of the following properties
    • user: [string]
      • default value: ''
      • PostgreSQL user
    • database: [string] database to use when connecting to PostgreSQL server
    • port: [number] port to use when connecting to PostgreSQL server
    • host: [string]

Clone this wiki locally