Opened 5 months ago

Last modified 5 months ago

#35398 closed Bug

If the JSONField contains numbers key, the hash_key query becomes invalid — at Version 1

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

Description (last modified by hanjiangxue20)

The JSONField defined in the django model contain numbers, such as fields: tags value is {"123": "abc"}, and querying XX.objects.filter (tagshas_key='123') is invalid! get nothing.

Change History (1)

comment:1 by hanjiangxue20, 5 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top