#36727: Deprecate get_placeholder in favor of get_placeholder_sql
-------------------------------------+-------------------------------------
     Reporter:  Jacob Walls          |                     Type:
                                     |  Cleanup/optimization
       Status:  new                  |                Component:  Database
                                     |  layer (models, ORM)
      Version:  dev                  |                 Severity:  Normal
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
 For consistency with other expressions that
 [https://docs.djangoproject.com/en/6.0/releases/6.0/#custom-orm-
 expressions-should-return-params-as-a-tuple return sql and params
 separately] (e.g. `tuple[str, tuple]`), we should deprecate
 `get_placeholder` for a `get_placeholder_sql` method that returns
 `tuple[str, tuple]` and adapt `BaseSpatialField`, `get_geom_placeholder`,
 and other call sites like `Value.as_sql` to make use of it.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36727>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019a74e2fbfb-cbca38fb-d14e-448f-a74b-649ef85afff5-000000%40eu-central-1.amazonses.com.

Reply via email to