MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / TypeClause

Class TypeClause

lib/sqlalchemy/sql/elements.py:2308–2323  ·  view source on GitHub ↗

Handle a type keyword in a SQL statement. Used by the ``Case`` statement.

Source from the content-addressed store, hash-verified

2306
2307
2308class 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
2326class AbstractTextClause(

Callers 2

CoreFixturesClass · 0.90
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected