mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #138] [CLOSED] Just an idea to avoid limitations in date intervals to days and months on more flexible DBMS ... #7765
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/138
Author: @cariboo
Created: 9/27/2011
Status: ❌ Closed
Base:
master← Head:master📝 Commits (3)
cc0fa24Different implementation of the date/time manipulation functions so that those are no more limited to days and months intervals in PostgreSQL without impacting over DBMS (and can be improved later by developers with sufficient skills on the other DBMS)f42ad1cDuplicated 'parse' function and unused '' variable removed.4dce297Functions that handle intervals are renamed to avoid conflicts with existing functions of the DBAL📊 Changes
3 files changed (+14 additions, -32 deletions)
View changed files
📝
lib/Doctrine/ORM/Query/AST/Functions/DateAddFunction.php(+6 -15)📝
lib/Doctrine/ORM/Query/AST/Functions/DateDiffFunction.php(+2 -2)📝
lib/Doctrine/ORM/Query/AST/Functions/DateSubFunction.php(+6 -15)📄 Description
Different implementation of the date/time manipulation functions so that those are no more limited to days and months intervals in PostgreSQL without impacting over DBMS (and can be improved later by developers with sufficient skills on the other DBMS)
This pull request should be associated with the one i sent on the doctrine-dbal lib.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.