MCPcopy
hub / github.com/django/django / get_substr

Method get_substr

django/db/models/functions/text.py:285–290  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

283 function = "RIGHT"
284
285 def get_substr(self):
286 return Substr(
287 self.source_expressions[0],
288 self.source_expressions[1] * Value(-1),
289 self.source_expressions[1],
290 )
291
292
293class RPad(LPad):

Callers

nothing calls this directly

Calls 2

ValueClass · 0.90
SubstrClass · 0.85

Tested by

no test coverage detected