Opened 7 months ago
Last modified 7 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 )
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.
Note:
See TracTickets
for help on using tickets.