qtil
advanced-security/qtil-python 0.0.3
Search

Predicate PrivateDjango::DjangoImpl::DB::Models::querySetReturningMethod

Gets a method with name that returns a QuerySet. This method can originate on a QuerySet or a Manager. modelClass specifies the django Model that this query-set originates from.

See https://docs.djangoproject.com/en/3.1/ref/models/querysets/

Import path

import semmle.python.frameworks.Django
Node querySetReturningMethod(Node modelClass, string name)