Skip to content
This repository

epgsql & uuid #15

lindem opened this Issue · 1 comment

2 participants

Timo L. Will Glozer
Timo L.

Is the UUID data type supported by epgsql? If so, how would I use it?

(see for the datatype in question)


Will Glozer
wg commented

Hi, epgsql doesn't have specific support for the UUID type but you can pass the textual value in as a binary or string (i.e. <<"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11">>) and queries will output the textual value as a binary.

The same holds true for any data type not listed in the README's Data Representation section.

Will Glozer wg closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.