Quantcast
Channel: Index by subkey inside subkey inside array in jsonb - Database Administrators Stack Exchange
Browsing all 2 articles
Browse latest View live

Answer by Erwin Brandstetter for Index by subkey inside subkey inside array...

First off, I would consider a normalized DB design instead of the convoluted jsonb column, which makes indexing and complex queries harder.How to index by [array].customer_id.id?See my answer to your...

View Article



Index by subkey inside subkey inside array in jsonb

I have a jsonb field registration that contains an array of objects. I need to create two separates indexes to look for id, by example:d61802ff-3eec-4a72-97ca-832f51b96bf0 = [ .tour_id.id...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images