Skip to content

Conversation

@aarrasseayoub01
Copy link
Member

For TestFind, when gorm scans into map[string]interface{}, there’s no type info for each column. Unlike the underlying drivers for postgres and others that use int64 for their numerical values, godror uses godror.NUMBER type. that's why it comes back as a string.

For TestPluck, the issue is a bit similar in that the custom scanner expects the value that comes from godror to be int64 but it's actually godror.NUMBER.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Aug 22, 2025
@ting-lan-wang ting-lan-wang merged commit a6b657f into main Aug 26, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants