3 ms·
> Enums are also ordered, which can be useful in certain circumstances. Are they ordered in a way that's different from an integer value that's a foreign key
by mmt 8y ago
> Enums are also ordered, which can be useful in certain circumstances.
Are they ordered in a way that's different from an integer value that's a foreign key into another table?
The main difference I can perceive is that the ordering is non-obvious to a human, unlike integers, which seems less useful, not more.