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

Identities should be printed in hexadecimal in SQL #506

Closed
joshua-spacetime opened this issue Oct 31, 2023 · 0 comments · Fixed by #786
Closed

Identities should be printed in hexadecimal in SQL #506

joshua-spacetime opened this issue Oct 31, 2023 · 0 comments · Fixed by #786
Assignees

Comments

@joshua-spacetime
Copy link
Collaborator

If you have a table like this:

pub struct MyTable {
  id: Identity
}

If you do a SQL query on this, the table will be printed like:

id 
----------------------------------------------------------------------------------------------------------------------------------------------------
[143, 144, 204, 148, 169, 150, 141, 246, 210, 151, 186, 166, 101, 3, 168, 147, 177, 195, 75, 11, 0, 38, 138, 81, 72, 152, 221, 149, 75, 13, 162, 11]
[143, 144, 204, 148, 169, 150, 141, 246, 210, 151, 186, 166, 101, 3, 168, 147, 177, 195, 75, 11, 0, 38, 138, 81, 72, 152, 221, 149, 75, 13, 162, 11]
[143, 144, 204, 148, 169, 150, 141, 246, 210, 151, 186, 166, 101, 3, 168, 147, 177, 195, 75, 11, 0, 38, 138, 81, 72, 152, 221, 149, 75, 13, 162, 11]

We just want these to be printed in hex (or maybe base64?) instead of as a byte array.

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

Successfully merging a pull request may close this issue.

4 participants