tldap.query¶
Used to perform LDAP queries.
-
class
tldap.query.
EmptyQuerySet
(cls, alias, settings, base_dn)[source]¶ Represents an empty query set with no results.
-
class
tldap.query.
QuerySet
(cls, using, settings, base_dn)[source]¶ Represents a lazy database lookup for a set of objects.
-
create
(**kwargs)[source]¶ Creates a new object with the given kwargs, saving it to the database and returning the created object.
-
exclude
(*args, **kwargs)[source]¶ Returns a new QuerySet instance with NOT (args) ANDed to the existing set.
-
filter
(*args, **kwargs)[source]¶ Returns a new QuerySet instance with the args ANDed to the existing set.
-
get
(*args, **kwargs)[source]¶ Performs the query and returns a single object matching the given keyword arguments.
-