Opened 12 months ago
Closed 8 months ago
#34547 closed Cleanup/optimization (fixed)
Deprecate DatabaseOperations.field_cast_sql().
Reported by: | Mariusz Felisiak | Owned by: | David Smith |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | David Sanders | 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
DatabaseOperations.field_cast_sql()
is noop for all builtin backends since 1586a09b7949bbb7b0d84cb74ce1cadc25cbb355. I think we can deprecate it in favor of DatabaseOperations.lookup_cast()
which is more flexible.
Change History (5)
comment:1 by , 12 months ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 8 months ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 8 months ago
Patch needs improvement: | unset |
---|---|
Triage Stage: | Accepted → Ready for checkin |
Note:
See TracTickets
for help on using tickets.
Accepting following the PR comments.