#28643: Complete the ORM Function Library
-------------------------------------+-------------------------------------
Reporter: Matthew Pava | Owner: nobody
Type: New feature | Status: new
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Josh Smeaton):
I had hoped that the 3rd party community would take care of providing
"Function Packs" for each of the backends. But functions are fairly easy
to create in your own project if you need them so I guess few people have
bothered to group them into a distributable package.
I would prefer that the django ecosystem had a standard group of function
expressions that can be used across backends, rather than a bunch of
similar but not quite the same implementations. Then 3rd party libraries
can depend on the known good versions and everyone is better off. Since
the community hasn't seemed to provide such a library (that I'm aware of),
I think it's fine for Django to do so.
Splitting the module up into string/numeric/date types sounds fine. Let's
take inspiration from postgres and other db vendor docs so navigating them
is familiar. Let's begin with functions that have standard support across
our 4 backends, then look into what's left over. If we can approximate
support by combining other functions we can do that. Otherwise if a
particular function only has support for one or two backends we can
consider ignoring it or implementing in a contrib module.
--
Ticket URL: <https://code.djangoproject.com/ticket/28643#comment:1>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.7ee47c703a413fb31fb3995c41725aec%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.