Changes between Version 1 and Version 2 of Ticket #30476, comment 2


Ignore:
Timestamp:
May 14, 2019, 2:58:42 PM (6 years ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30476, comment 2

    v1 v2  
    11There's enough significant differences between `json` and `jsonb` types which makes me believe this is not a good idea.
    22
    3 For example, [https://www.postgresql.org/docs/9.4/datatype-json.html containment operators it not supported] on `json` columns while they are on `jsonb` ones which breaks the `__contains` [https://docs.djangoproject.com/en/2.2/ref/contrib/postgres/fields/#std:fieldlookup-hstorefield.contains lookup].
     3For example, [https://www.postgresql.org/docs/9.4/datatype-json.html containment operators it not supported] on `json` columns while they are on `jsonb` ones which breaks the `__contains` [https://docs.djangoproject.com/en/2.2/ref/contrib/postgres/fields/#containment-and-key-operations lookup].
Back to Top