class documentation

class concat(GenericFunction):

View In Hierarchy

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
inherit_cache: bool =