sqlg icon indicating copy to clipboard operation
sqlg copied to clipboard

Support enums as a datatype

Open pietermartin opened this issue 8 years ago • 1 comments

Not entirely sure if this is a good idea. Sqlg can store the classname of the enum in its topology and use that to return the correct type via reflection.

pietermartin avatar Jan 22 '17 11:01 pietermartin

Best way to do this is with a check constraint. It is to difficult to refactor the db when using db enumerations.

pietermartin avatar May 08 '22 07:05 pietermartin