|
|
|
|
|
by aidos
1101 days ago
|
|
I still don't totally understand that first point. Are you talking about using enums for controlling the connection itself? Can you give an example? Just to clarify, sqlalchemy supports any arbitrary mapping you want — it's entirely flexible in every direction. EDIT ah, do you mean something like this? CREATE FUNCTION do_thing(flags custom_enum)
|
|
Relational algebra has the concept of enums builtin (as long as they all have the same structure). You create them in databases by using foreign keys.