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

Range types (mainly tstzrange, tsrange and daterange)

adaliszk opened this issue · comments

Awesome project!

When you have time, could you add support for the built-in range types in Postgres?
https://www.postgresql.org/docs/current/rangetypes.html

For the date based ranges, it would be really cool if it already maps the values to a DatePeriod class:
https://www.php.net/manual/en/class.dateperiod.php

Thanks for the suggestion. I hope you can help with the expansion of the project. PR #63 can be used as an example of how new functionality can be added fairly easily.