Opened 7 years ago

Closed 7 years ago

#28365 closed Cleanup/optimization (fixed)

Unify date_interval_sql() method with other backend date/datetime/time operations.

Reported by: Mariusz Felisiak Owned by: Mariusz Felisiak
Component: Database layer (models, ORM) Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

This is a follow up of the discussion in 24194#comment:6 (see also#27802). date_interval_sql behaves differently than others date/datetime/time operations. It returns sql and params whereas the others return just sql.

Change History (3)

comment:1 by Tim Graham, 7 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Tim Graham, 7 years ago

Has patch: set
Summary: Unify date_interval_sql() method with others backend date/datetime/time operations.Unify date_interval_sql() method with other backend date/datetime/time operations.
Triage Stage: AcceptedReady for checkin

comment:3 by Tim Graham <timograham@…>, 7 years ago

Resolution: fixed
Status: assignedclosed

In df1106a4:

Fixed #28365 -- Unified DatabaseOperations.date_interval_sql() return value with similar methods.

Note: See TracTickets for help on using tickets.
Back to Top