From a26b88cd6b2034b7048d5b4729d3fa90ddfb255d Mon Sep 17 00:00:00 2001 From: DefteZ Date: Sat, 25 Jul 2020 01:45:41 +0200 Subject: [PATCH] Update docs with actual MariaDB JSON support --- lib/sqlalchemy/dialects/mysql/json.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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` -- 2.47.2