use Text instead of TEXT

TEXT is wrong on Oracle, LargeBinary is wrong everywhere else.

Text seems to be the high-level type that maps to the right thing both places.
This results in no change on supported implementations, as Text == TEXT there.
This commit is contained in:
Min RK
2019-02-06 13:47:40 +01:00
committed by GitHub
parent 047bd4e7cc
commit bf36f9fc9a

View File

@@ -46,7 +46,7 @@ class JSONDict(TypeDecorator):
""" """
impl = LargeBinary impl = Text
def process_bind_param(self, value, dialect): def process_bind_param(self, value, dialect):
if value is not None: if value is not None: