diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-07-05 16:16:22 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-07-05 16:16:22 -0400 |
commit | 1abbdf0d5233f2aa96805544381a5c14151525e4 (patch) | |
tree | af33df3c31bc021d92263bc0badc51f859978437 | |
parent | f4f9ec1c2f6fad29729ee379adb537f8648d1737 (diff) | |
download | sqlalchemy-1abbdf0d5233f2aa96805544381a5c14151525e4.tar.gz |
Adjust JSON verbiage about "implied" datatype
SQLite and MariaDB (not MySQL) has an "implied" JSON,
MySQL has it directly
Change-Id: I2e1744de96ac4e241dc647ae2214b63cdad33428
-rw-r--r-- | doc/build/core/tutorial.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/build/core/tutorial.rst b/doc/build/core/tutorial.rst index f0cfe66f4..1a61c2e6b 100644 --- a/doc/build/core/tutorial.rst +++ b/doc/build/core/tutorial.rst @@ -1520,8 +1520,10 @@ another function :func:`.type_coerce` which is closely related to :func:`.cast`, in that it sets up a Python expression as having a specific SQL database type, but does not render the ``CAST`` keyword or datatype on the database side. :func:`.type_coerce` is particularly important when dealing -with the :class:`.types.JSON` datatype, which on a database like SQLite is -an "implied" datatype. Below, we use :func:`.type_coerce` to deliver a Python +with the :class:`.types.JSON` datatype, which typicaly has an intricate +relationship with string-oriented datatypes on different platforms and +may not even be an explicit datatype, such as on SQLite and MariaDB. +Below, we use :func:`.type_coerce` to deliver a Python structure as a JSON string into one of SQLite's JSON functions: .. sourcecode:: pycon+sql |