Skip to content

Conversation

@kmiterror
Copy link
Contributor

@kmiterror kmiterror commented Sep 24, 2025

Currently guids are shown like:
39887ea6-d811-c64c-8611-eefb36ad631e
but should be
a67e8839-11d8-4cc6-8611-eefb36ad631e
note how the order is flipped in eg. c64c and 4cc6

This is how it looks in current lazysql version:
image

This PR fixes it:
image

Now it's same as the one shown in other MS SQL editors, eg. Visual Studio Code below:
image

16 byte little endian GUID
@kmiterror
Copy link
Contributor Author

@jorgerojas26 @ccoVeille guys can you have a look?
it's rather simple PR

@jorgerojas26 jorgerojas26 merged commit dd5c6d7 into jorgerojas26:main Oct 6, 2025
2 checks passed
Comment on lines +339 to +340
// if guid, errParse := uuid.FromBytes(*rawBytes); errParse == nil {
// row = append(row, guid.String()) // Use standard GUID format if valid
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like left behind code

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I prepared another PR
#220

@kmiterror kmiterror mentioned this pull request Oct 7, 2025
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 this pull request may close these issues.

3 participants