pietermartin / sqlg

TinkerPop graph over sql
MIT License
242 stars 51 forks source link

Support enums as a datatype #141

Open pietermartin opened 7 years ago

pietermartin commented 7 years ago

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 commented 2 years ago

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