MCPcopy Index your code
hub / github.com/tortoise/tortoise-orm / Length

Class Length

tortoise/functions.py:20–27  ·  view source on GitHub ↗

Returns length of text/blob. :samp:`Length("{FIELD_NAME}")`

Source from the content-addressed store, hash-verified

18
19
20class Length(Function):
21 """
22 Returns length of text/blob.
23
24 :samp:`Length("{FIELD_NAME}")`
25 """
26
27 database_func = functions.Length
28
29
30class Coalesce(Function):

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…