MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / visit_custom_op_binary

Method visit_custom_op_binary

lib/sqlalchemy/sql/compiler.py:3629–3640  ·  view source on GitHub ↗
(self, element, operator, **kw)

Source from the content-addressed store, hash-verified

3627 )
3628
3629 def visit_custom_op_binary(self, element, operator, **kw):
3630 if operator.visit_name:
3631 disp = self._get_custom_operator_dispatch(operator, "binary")
3632 if disp:
3633 return disp(element, operator, **kw)
3634
3635 kw["eager_grouping"] = operator.eager_grouping
3636 return self._generate_generic_binary(
3637 element,
3638 " " + self.escape_literal_column(operator.opstring) + " ",
3639 **kw,
3640 )
3641
3642 def visit_custom_op_unary_operator(self, element, operator, **kw):
3643 if operator.visit_name:

Callers

nothing calls this directly

Tested by

no test coverage detected