MCPcopy Index your code
hub / github.com/sqlalchemy/sqlalchemy / json_type

Method json_type

test/requirements.py:1247–1264  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1245
1246 @property
1247 def json_type(self):
1248 return only_on(
1249 [
1250 lambda config: against(config, "mysql")
1251 and (
1252 (
1253 not config.db.dialect._is_mariadb
1254 and against(config, "mysql >= 5.7")
1255 )
1256 or (config.db.dialect.server_version_info >= (10, 2, 7))
1257 ),
1258 "mariadb>=10.2.7",
1259 "postgresql >= 9.3",
1260 self._sqlite_json,
1261 "mssql",
1262 "oracle>=21",
1263 ]
1264 ) + skip_if("oracle+cx_oracle")
1265
1266 @property
1267 def json_index_supplementary_unicode_element(self):

Callers

nothing calls this directly

Calls 3

only_onFunction · 0.90
againstFunction · 0.90
skip_ifFunction · 0.90

Tested by

no test coverage detected