Can it use an uuid type for uuid type? #1161
-
The postgres uuid type is mapped to string. Is it possible to overwrite the mapped type with something like |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You can use the types.replace directive in the configuration to use a UUID type that implement the |
Beta Was this translation helpful? Give feedback.
-
Sorry, it would be helpful for noobs to sqlboiler to provide a concrete example of how to achieve this, considering uuid is a common postgres type. edit: to elaborate, I've had a go at this and can't get it to work |
Beta Was this translation helpful? Give feedback.
You can use the types.replace directive in the configuration to use a UUID type that implement the
Scanner
andValuer
interfaces