﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
36462	Document has_any_keys lookup array case for JSONField (Postgres)	Willem Van Onsem		"Recently, there was a question on [https://stackoverflow.com/a/79662455/67579 StackOverflow] about how to query a JSON field that has an array, to look if the array contains at least one of the items.

A bit surprising, but the `?|` operator does that, indeed [https://www.postgresql.org/docs/9.5/functions-json.html according to the docs], this use-case is not (well) documented in Django, and `keys` evidently suggests that it is for dictionaries.

I'm wondering if we should include such cases in the documentation, so add an example where the JSON blob is an array of strings for example, and demonstrate how it is filtered."	New feature	closed	Documentation	5.1	Normal	wontfix	orm, documentation, JSON, postgreSQL.		Unreviewed	0	0	0	0	0	0
