MCPcopy
hub / github.com/django/django / get_meta

Method get_meta

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

Return the Options instance (the model._meta) from which to start processing. Normally, this is self.model._meta, but it can be changed by subclasses.

(self)

Source from the content-addressed store, hash-verified

376 )
377
378 def get_meta(self):
379 """
380 Return the Options instance (the model._meta) from which to start
381 processing. Normally, this is self.model._meta, but it can be changed
382 by subclasses.
383 """
384 if self.model:
385 return self.model._meta
386
387 def clone(self):
388 """

Callers 15

get_select_maskMethod · 0.95
get_initial_aliasMethod · 0.95
solve_lookup_typeMethod · 0.95
build_filterMethod · 0.95
resolve_refMethod · 0.95
add_fieldsMethod · 0.95
add_immediate_loadingMethod · 0.95
as_sqlMethod · 0.45
orderedMethod · 0.45
totally_orderedMethod · 0.45
delete_batchMethod · 0.45
add_update_valuesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected