martin-georgiev / postgresql-for-doctrine

PostgreSQL enhancements for Doctrine. Provides support for advanced data types (json, jssnb, arrays), text search, array operators and jsonb specific functions.

Home Page:https://packagist.org/packages/martin-georgiev/postgresql-for-doctrine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enum type

bednic opened this issue · comments

Hi, I have a question. Is it possible to add enum type? I really like your work, it contains most missing features of postgres database. Only one thing missing and that's enum. It's just idea. It's could save me another library or some coding, if u add that to this lib.

I should have some time next week to work in this.

Thx man! 👍

If you use Symfony https://github.com/fre5h/DoctrineEnumBundle would be your best go-to option for enum's. It should cover your needs and is actively maintained.

I'm not. The reason why I want enum in this project is I don't want to install library per problem. But nwm, if you won't to add it, I'll write enum impl. myself 😉