MCPcopy
hub / github.com/django/django / ref_alias

Method ref_alias

django/db/models/sql/query.py:926–928  ·  view source on GitHub ↗

Increases the reference count for this alias.

(self, alias)

Source from the content-addressed store, hash-verified

924 return alias, True
925
926 def ref_alias(self, alias):
927 """Increases the reference count for this alias."""
928 self.alias_refcount[alias] += 1
929
930 def unref_alias(self, alias, amount=1):
931 """Decreases the reference count for this alias."""

Callers 2

get_initial_aliasMethod · 0.95
joinMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected