Handle a type keyword in a SQL statement. Used by the ``Case`` statement.
| 2306 | |
| 2307 | |
| 2308 | class TypeClause(DQLDMLClauseElement): |
| 2309 | """Handle a type keyword in a SQL statement. |
| 2310 | |
| 2311 | Used by the ``Case`` statement. |
| 2312 | |
| 2313 | """ |
| 2314 | |
| 2315 | __visit_name__ = "typeclause" |
| 2316 | |
| 2317 | _traverse_internals: _TraverseInternalsType = [ |
| 2318 | ("type", InternalTraversal.dp_type) |
| 2319 | ] |
| 2320 | type: TypeEngine[Any] |
| 2321 | |
| 2322 | def __init__(self, type_: TypeEngine[Any]): |
| 2323 | self.type = type_ |
| 2324 | |
| 2325 | |
| 2326 | class AbstractTextClause( |
no outgoing calls
no test coverage detected