From: DefteZ Date: Fri, 24 Jul 2020 23:45:41 +0000 (+0200) Subject: Update docs with actual MariaDB JSON support X-Git-Tag: rel_1_4_0b1~214 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a26b88cd6b2034b7048d5b4729d3fa90ddfb255d;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Update docs with actual MariaDB JSON support --- diff --git a/lib/sqlalchemy/dialects/mysql/json.py b/lib/sqlalchemy/dialects/mysql/json.py index 733a4d696b..640e199292 100644 --- a/lib/sqlalchemy/dialects/mysql/json.py +++ b/lib/sqlalchemy/dialects/mysql/json.py @@ -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`