MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / ElementList

Class ElementList

lib/sqlalchemy/sql/elements.py:2914–2934  ·  view source on GitHub ↗

Describe a list of clauses that will be space separated. This is a minimal version of :class:`.ClauseList` which is used by the :class:`.HasSyntaxExtension` class. It does not do any coercions so should be used internally only. .. versionadded:: 2.1

Source from the content-addressed store, hash-verified

2912
2913
2914class ElementList(DQLDMLClauseElement):
2915 """Describe a list of clauses that will be space separated.
2916
2917 This is a minimal version of :class:`.ClauseList` which is used by
2918 the :class:`.HasSyntaxExtension` class. It does not do any coercions
2919 so should be used internally only.
2920
2921 .. versionadded:: 2.1
2922
2923 """
2924
2925 __visit_name__ = "element_list"
2926
2927 _traverse_internals: _TraverseInternalsType = [
2928 ("clauses", InternalTraversal.dp_clauseelement_tuple),
2929 ]
2930
2931 clauses: typing_Tuple[ClauseElement, ...]
2932
2933 def __init__(self, clauses: Sequence[ClauseElement]):
2934 self.clauses = tuple(clauses)
2935
2936
2937class OrderByList(

Callers 2

CoreFixturesClass · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected