MCPcopy
hub / github.com/django/django / slice_expression

Method slice_expression

django/db/models/fields/__init__.py:1359–1362  ·  view source on GitHub ↗
(self, expression, start, length)

Source from the content-addressed store, hash-verified

1357 return name, path, args, kwargs
1358
1359 def slice_expression(self, expression, start, length):
1360 from django.db.models.functions import Substr
1361
1362 return Substr(expression, start, length)
1363
1364
1365class CommaSeparatedIntegerField(CharField):

Callers

nothing calls this directly

Calls 1

SubstrClass · 0.90

Tested by

no test coverage detected