#27834: Add the STRPOS database function -------------------------------------+------------------------------------- Reporter: Baptiste Mispelon | Owner: Brad | Melin Type: New feature | Status: assigned Component: Database layer | Version: master (models, ORM) | Severity: Normal | Resolution: Keywords: expressions | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Josh Smeaton):
* cc: josh.smeaton@… (added) * keywords: => expressions * version: 1.10 => master Comment: > I'm not sure if there's an official criteria for deciding which functions get implemented in core Nope, there's no official criteria. As you noted there's support in all 4 official backends, and it's a commonly used function, which makes this a good candidate for inclusion. For anyone reading this in the future, I'm wary about including obscure functions that don't enjoy support for all (or most) backends, and would probably like to see a library spring up to support those use cases. Thanks for doing the investigation Baptiste. -- Ticket URL: <https://code.djangoproject.com/ticket/27834#comment:3> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.cd0f9623b905c2c830d1c7e7ea754d71%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.