(self)
| 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): |