]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Update docs with actual MariaDB JSON support
authorDefteZ <deftez@gmail.com>
Fri, 24 Jul 2020 23:45:41 +0000 (01:45 +0200)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 26 Jul 2020 14:34:16 +0000 (10:34 -0400)
(cherry picked from commit a26b88cd6b2034b7048d5b4729d3fa90ddfb255d)

lib/sqlalchemy/dialects/mysql/json.py

index 733a4d696ba9953d43ecc3b070138d7043d0093d..640e199292192cea60a1b6dd3ca7dde82e7de3fb 100644 (file)
@@ -13,8 +13,8 @@ from ... import types as sqltypes
 class JSON(sqltypes.JSON):
     """MySQL JSON type.
 
-    MySQL supports JSON as of version 5.7.  Note that MariaDB does **not**
-    support JSON at the time of this writing.
+    MySQL supports JSON as of version 5.7.
+    MariaDB supports JSON (as an alias for LONGTEXT) as of version 10.2.
 
     The :class:`.mysql.JSON` type supports persistence of JSON values
     as well as the core index operations provided by :class:`_types.JSON`