Skip to content

Commit dbb668c

Browse files
committed
Add types to debug signature
1 parent e148a0a commit dbb668c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ const sql = postgres('postgres://username:password@host:port/database', {
621621
types : [], // Array of custom types, see more below
622622
onnotice : fn, // Defaults to console.log
623623
onparameter : fn, // (key, value) when server param change
624-
debug : fn, // Is called with (connection, query, params)
624+
debug : fn, // Is called with (connection, query, params, types)
625625
transform : {
626626
column : fn, // Transforms incoming column names
627627
value : fn, // Transforms incoming row values

0 commit comments

Comments
 (0)