MySQL users will have no alternative when support for JSONField is dropped
See original GitHub issueI noticed that the current docs say the following with respect to django-extensions
’s JSONField
:
Deprecated since version 1.7.3: Django 1.9 features a native JSONField. Django-Extensions will support JSONField at the very least until Django 1.8 becomes unsupported.
However, the JSONField
provided by Django is for PostgreSQL only.
Ref: https://docs.djangoproject.com/en/1.11/ref/contrib/postgres/fields/#jsonfield
Thus, when django-extensions
drops support for JSONField
, users of MySQL and other database backends will not have an alternative field that they can migrate to. Shouldn’t support for this field be reconsidered?
Thank you for your time!
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
MySQL 8.0 Reference Manual :: 11.5 The JSON Data Type
MySQL supports a native JSON data type defined by RFC 7159 that enables efficient access to data in JSON (JavaScript Object Notation) documents....
Read more >MySQL 5.7+ is required to use JSONField - Stack Overflow
MySQL supports JSON starting from version 5.7.8. If you need to use this datatype then your MySQL server version cannot be lower.
Read more >How To Work with JSON in MySQL - DigitalOcean
Step 5 — Deleting Data from the JSON Field Alternatively, you can DELETE entire rows using a JSON column. This query will remove...
Read more >MySQL for JSON: Generated Columns and Indexing - Compose
MySQL doesn't have a way to index JSON documents directly, but it has given us an alternative: generated columns.
Read more >Define type of content of Json field · Issue #3219 - GitHub
Problem Right now if you have the following schema with Json field: model User { id Int @default(autoincrement()) @id name String?
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m happy to leave it in as long as there are (enough) users that find it useful.
Maybe we should improve the documentation instead of deprecating it. Make it very clear in the docs that alternatives exists like the build-in JSONField when using PostGreSQL and maybe some of the other implementations out there which might be better supported.
Of course everybody is happy to use our version 😃
Thanks !