MCPcopy
hub / github.com/django/django / PositionRef

Class PositionRef

django/db/models/sql/compiler.py:33–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31
32
33class PositionRef(Ref):
34 def __init__(self, ordinal, refs, source):
35 self.ordinal = ordinal
36 super().__init__(refs, source)
37
38 def as_sql(self, compiler, connection):
39 return str(self.ordinal), ()
40
41
42class SQLCompiler:

Callers 1

_order_by_pairsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected