Hey! I was wondering if in SQLDelight it was possi...
# squarelibraries
t
Hey! I was wondering if in SQLDelight it was possible to use a ENUM with the Postgres Dialect. I have a table that looks kind of this like
Copy code
{
  id: <INCREMENT>,
  kind: "TEST" | "TEST_2",
  value: 1
}
And I wanted to make
kind
a enum to hopefully make indexing in the future faster but it doesn't seem to be supported by SQLDelight.
r
SqlDelight does not support Postgres dialect as of now You can look here for enums
t
Yeah I looked at that already, my main concern was just index speed and such on a TEXT/Varchar field. Or would it be negligible?