Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readme debug: true inconsistency #928

Open
refset opened this issue Aug 15, 2024 · 1 comment
Open

Readme debug: true inconsistency #928

refset opened this issue Aug 15, 2024 · 1 comment

Comments

@refset
Copy link

refset commented Aug 15, 2024

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)

@egg-juxt
Copy link

egg-juxt commented Aug 16, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants