|
|
Enum type manager. It creates a separated class to hold each enum set that can be used by multiple models, it also keeps the database consistent. The enum type is known to have a better performance against string- and integer-like enums. [PostgreSQL Docs](https://www.postgresql.org/docs/9.6/static/datatype-enum.html)
|
|
|
Enum type manager. For each enum-type created on the database, it allows 2 behaviors: Single enum attribution, Array (Set-like) attribution. For [Array attribution](https://github.com/crashtech/torque-postgresql/wiki/Enum-Set) check the link. It creates a separated class to hold each enum set that can be used by multiple models, it also keeps the database consistent. The enum type is known to have a better performance against string- and integer-like enums. [PostgreSQL Docs](https://www.postgresql.org/docs/9.6/static/datatype-enum.html)
|
|
|
|
|
|
# How it works
|
|
|
|
... | ... | |