Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
camsaul authored Dec 4, 2019
1 parent a93b61a commit beea677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ You can create a pooled `DataSource` (e.g., for use with [`next-jdbc`](https://g
(require '[next.jdbc :as jdbc]
'[metabase.connection-pool :as connection-pool])

(with-open [connection (jdbc/get-connection (connection-pool/pooled-data-source-from-url "jdbc:postgresql:cam@localhost:3000/my_db"))]
(with-open [connection (jdbc/get-connection (connection-pool/pooled-data-source-from-url "jdbc:postgresql:localhost:3000/my_db"))]
(reduce my-fn init-value (jdbc/plan connection ["SELECT *"])))
```

Expand Down

0 comments on commit beea677

Please sign in to comment.