MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / concat

Method concat

lib/sqlalchemy/sql/operators.py:679–686  ·  view source on GitHub ↗

Implement the 'concat' operator. In a column context, produces the clause ``a || b``, or uses the ``concat()`` operator on MySQL.

(self, other: Any)

Source from the content-addressed store, hash-verified

677 return self.operate(rshift, other)
678
679 def concat(self, other: Any) -> ColumnOperators:
680 """Implement the 'concat' operator.
681
682 In a column context, produces the clause ``a || b``,
683 or uses the ``concat()`` operator on MySQL.
684
685 """
686 return self.operate(concat_op, other)
687
688 def _rconcat(self, other: Any) -> ColumnOperators:
689 """Implement an 'rconcat' operator.

Calls 1

operateMethod · 0.95

Tested by 10

nameMethod · 0.36
__clause_element__Method · 0.36
_name_expressionMethod · 0.36
nameMethod · 0.36
_descendants_fixtureMethod · 0.36
_anscestors_fixtureMethod · 0.36