Skip to content

Commit

Permalink
Add types to debug signature
Browse files Browse the repository at this point in the history
  • Loading branch information
porsager committed Mar 29, 2022
1 parent e148a0a commit dbb668c
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 @@ -621,7 +621,7 @@ const sql = postgres('postgres://username:password@host:port/database', {
types : [], // Array of custom types, see more below
onnotice : fn, // Defaults to console.log
onparameter : fn, // (key, value) when server param change
debug : fn, // Is called with (connection, query, params)
debug : fn, // Is called with (connection, query, params, types)
transform : {
column : fn, // Transforms incoming column names
value : fn, // Transforms incoming row values
Expand Down

0 comments on commit dbb668c

Please sign in to comment.