postgres icon indicating copy to clipboard operation
postgres copied to clipboard

Readme `debug: true` inconsistency

Open refset opened this issue 1 year ago • 1 comments

The readme currently has contradictory information where it states:

To log these it is required to specifically access error.query and error.parameters, or set debug: true in options.

Per the All Postgres options section however the value under the debug option should actually be a function (e.g. debug: console.log)

refset avatar Aug 15 '24 10:08 refset

Also, the debug option is declared to take either a boolean or a function inside the TS type declarations file.

egg-juxt avatar Aug 16 '24 08:08 egg-juxt