postgresql-for-doctrine
postgresql-for-doctrine copied to clipboard
feat: add support for `DATE_TRUNC`
The subject says it all.
Summary by CodeRabbit
-
New Features
- Added DATE_TRUNC to truncate timestamps to specified precision with optional timezone support.
-
Documentation
- Updated integration guides (Doctrine, Laravel, Symfony) and usage examples showing DATE_TRUNC usage.
-
Tests
- Added unit and integration tests covering DATE_TRUNC SQL generation, argument validation, timezone handling, and multiple precision scenarios.
✏️ Tip: You can customize this high-level summary in your review settings.