Skip to content

Commit 2469b2e

Browse files
committed
Add debug info
1 parent a4d821a commit 2469b2e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ const sql = postgres('postgres://user:pass@host:port/database', {
5353
types : [], // Custom types, see more below
5454
onnotice : fn // Any NOTICE the db sends will be posted here
5555
onparameter : fn // Callback with key, value for server params
56+
debug : fn // Is called with (connection, query, parameters)
5657
transform : {
5758
column : fn, // Transforms incoming column names
5859
value : fn, // Transforms incoming row values

0 commit comments

Comments
 (0)