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

testutils/db: handle col type bool on export #447

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

sgotti
Copy link
Member

@sgotti sgotti commented Oct 11, 2023

Since we are retrieving any type from the db rows.Scan we should handle the possible returned types for a bool col type. Currently handle booleans, int64 0 or 1, uint8[] of chars making a string of value "true" or "false".

Since we are retrieving any type from the db rows.Scan we should handle
the possible returned types for a bool col type. Currently handle
booleans, int64 0 or 1, uint8[] of chars making a string of value "true"
or "false".
@sgotti sgotti merged commit fa56bad into agola-io:master Oct 11, 2023
1 check passed
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.

None yet

1 participant