Skip to content

Fix Uint64.Scan() to convert negative int64 to uint64#12

Merged
aarondl merged 3 commits intoaarondl:masterfrom
maku693:fix-uint64-scan
Feb 22, 2021
Merged

Fix Uint64.Scan() to convert negative int64 to uint64#12
aarondl merged 3 commits intoaarondl:masterfrom
maku693:fix-uint64-scan

Conversation

@maku693
Copy link

@maku693 maku693 commented Feb 13, 2021

As described in aarondl/sqlboiler#905, sqlboiler converts uint64 to int64 in relation-methods. So I've fixed Uint64.Scan() to convert received int64 to uint64 when it is smaller than 0.

Also, I've done some works that aren't related to the issue directly.

@aarondl aarondl merged commit 6ee82df into aarondl:master Feb 22, 2021
@aarondl
Copy link
Owner

aarondl commented Feb 22, 2021

Will get this into sqlboiler. Thanks 👍🏽

@maku693 maku693 deleted the fix-uint64-scan branch February 22, 2021 03:10
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