Opened 7 years ago

Last modified 4 years ago

#28928 closed New feature

Support expression indexes for GinIndex — at Initial Version

Reported by: James Howe Owned by:
Component: contrib.postgres Version: 1.11
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I'm envisaging an api such that

GinIndex(fields=['jdoc.tags[0]'])

would generate

CREATE INDEX jdoc_gin ON mymodel USING GIN ((jdoc -> 'tags' -> 0));

Change History (0)

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