-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Lines 348 to 349 in d74f22d
| case "string", "collate", "bit", "interval", "bit varying", "character", "character varying", "inet", "uuid", "text": | |
| c.Type = "null.String" |
I was surprised to see UUID columns represented as string in generated Go. The CockroachDB Manual clearly states that this data is stored as bytes, and in my Go code, I pass them around as []byte as string conversion is a completely unnecessary waste of resources.
I realize this would be a breaking change, but can we make it configurable? Thanks for looking into this.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels