class concat(GenericFunction):
The SQL CONCAT() function, which concatenates strings.
E.g.:
>>> print(select(func.concat('a', 'b'))) SELECT concat(:concat_2, :concat_3) AS concat_1
String concatenation in SQLAlchemy is more commonly available using the Python + operator with string datatypes, which will render a backend-specific concatenation operator, such as
>>> print(select(literal("a") + "b")) SELECT :param_1 || :param_2 AS anon_1
Class Variable | inherit_cache |
Undocumented |
Inherited from GenericFunction
:
Method | __init__ |
Undocumented |
Class Variable | _register |
Undocumented |
Class Variable | coerce_arguments |
Undocumented |
Instance Variable | _bind |
Undocumented |
Instance Variable | _has_args |
Undocumented |
Instance Variable | clause_expr |
Undocumented |
Instance Variable | packagenames |
Undocumented |
Instance Variable | type |
Undocumented |