MCPcopy Create free account
hub / github.com/zzzeek/sqlalchemy / visit_expression_clauselist

Method visit_expression_clauselist

lib/sqlalchemy/sql/compiler.py:2920–2937  ·  view source on GitHub ↗
(self, clauselist, **kw)

Source from the content-addressed store, hash-verified

2918 return self._generate_delimited_list(clauselist.clauses, sep, **kw)
2919
2920 def visit_expression_clauselist(self, clauselist, **kw):
2921 operator_ = clauselist.operator
2922
2923 disp = self._get_operator_dispatch(
2924 operator_, "expression_clauselist", None
2925 )
2926 if disp:
2927 return disp(clauselist, operator_, **kw)
2928
2929 try:
2930 opstring = OPERATORS[operator_]
2931 except KeyError as err:
2932 raise exc.UnsupportedCompilationError(self, operator_) from err
2933 else:
2934 kw["_in_operator_expression"] = True
2935 return self._generate_delimited_list(
2936 clauselist.clauses, opstring, **kw
2937 )
2938
2939 def visit_case(self, clause, **kwargs):
2940 x = "CASE "

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected