Opened 5 years ago

Last modified 5 years ago

#30925 closed New feature

Missing queryset filter operator leads to extra operator use — at Initial Version

Reported by: golways Owned by: nobody
Component: Database layer (models, ORM) Version: 2.2
Severity: Normal Keywords: QuerySet.extra
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hi,

startof / istartof / endof / iendof operators are missing.

In my project, I would need to use something like:

.filter(attristartof= myVar)

Since istartof is missing, I do:

.extra(where=%s ILIKE attr||'%%', params=[myVar])

Thanks for your great job with Django !
Regards,
Franck

Change History (0)

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