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

Add a Debug impl for <DB>Row #150

Closed
mehcode opened this issue Mar 25, 2020 · 1 comment · Fixed by #2917
Closed

Add a Debug impl for <DB>Row #150

mehcode opened this issue Mar 25, 2020 · 1 comment · Fixed by #2917
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@mehcode
Copy link
Member

mehcode commented Mar 25, 2020

As an example, debug printing a PgRow should display something similar to HashMap:

PgRow { 0: value0, "column": value1, 2: value2 }

I'm not sure how we should print something like PgValue. We could ask the type and try and match to print out something reasonable looking, falling back to raw bytes? Ideas?

@mehcode mehcode added enhancement New feature or request help wanted Extra attention is needed labels Mar 25, 2020
@garasubo
Copy link

Looks like Debug impl for MySqlRow is already added in 0.4.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants