postgresql-for-doctrine icon indicating copy to clipboard operation
postgresql-for-doctrine copied to clipboard

feat: add support for `DATE_TRUNC`

Open janklan opened this issue 1 week ago • 5 comments

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.

janklan avatar Dec 03 '25 03:12 janklan