MCPcopy Create free account
hub / github.com/tortoise/tortoise-orm / Concat

Class Concat

tortoise/functions.py:71–79  ·  view source on GitHub ↗

Concate field or constant text. Be care, DB like sqlite3 has no support for `CONCAT`. :samp:`Concat("{FIELD_NAME}", {ANOTHER_FIELD_NAMES or CONSTANT_TEXT}, *args)`

Source from the content-addressed store, hash-verified

69
70
71class Concat(Function):
72 """
73 Concate field or constant text.
74 Be care, DB like sqlite3 has no support for `CONCAT`.
75
76 :samp:`Concat("{FIELD_NAME}", {ANOTHER_FIELD_NAMES or CONSTANT_TEXT}, *args)`
77 """
78
79 database_func = _Concat
80
81
82##############################################################################

Callers 4

test_annotateFunction · 0.90
test_concat_functionsFunction · 0.90

Calls

no outgoing calls

Tested by 4

test_annotateFunction · 0.72
test_concat_functionsFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…