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 "useBinary" option to convert to/from binary(16) #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add "useBinary" option to convert to/from binary(16) #30

wants to merge 1 commit into from

Conversation

schmoove
Copy link

@schmoove schmoove commented Apr 11, 2021

It's common to store UUIDs in MySQL as binary(16).
This PR adds a useBinary option to convert the generated/returned UUIDs to/from binary format.

@schmoove schmoove changed the title Add "useBinary" option to convert to/from binary format Add "useBinary" option to convert to/from binary(16) Apr 11, 2021
@schmoove schmoove changed the title Add "useBinary" option to convert to/from binary(16) Add "useBinary" option to convert to/from binary(16) Apr 11, 2021
@joaonice
Copy link
Member

@schmoove thanks for the PR. Please add some tests to it

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.

2 participants