epgsql & uuid #15

Closed
lindem opened this Issue Feb 13, 2012 · 1 comment

2 participants

@lindem

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

(see http://www.postgresql.org/docs/9.1/static/datatype-uuid.html for the datatype in question)

Regards,
-T.

@wg
Owner
wg commented Feb 13, 2012

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.

@wg wg closed this Feb 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment