Permalink
Browse files

README update

  • Loading branch information...
1 parent 14fda75 commit 7bdc2e6369d146e3a552892e9d7f55beed1852b1 @cdaddr committed May 22, 2010
Showing with 5 additions and 4 deletions.
  1. +5 −4 README.markdown
View
@@ -4,15 +4,16 @@ Set up a connection pool for a Postgres server.
## Usage
- (postgres-pool {:host "localhost" :port 5432
- :username "foo" :password "bar"
- :database "mydb"})
+ (def db (postgres-pool {:host "localhost" :port 5432
+ :username "foo" :password "bar"
+ :database "mydb"}))
+ (clojure.contrib.sql/with-connection db ...)
## Installation
Available at Clojars, add this to `project.clj` and use `lein`:
- [postgres-pool "1.0.0"]
+ [postgres-pool "1.1.0"]
## License

0 comments on commit 7bdc2e6

Please sign in to comment.