ldapper.query¶
-
class
ldapper.query.
Q
(**conditions)[source]¶ Bases:
object
Query class used to build arbitrarily complex query filters.
Q objects are strung together and then compiled once we are told what the concrete LDAPNode class is going to be.
The key to the Q class is that it appends conditions when of the same type without creating another level of hierarchy, and it spawns child levels only when the operations (And, Or) switches.
-
class
ldapper.query.
And
(ops)[source]¶ Bases:
ldapper.query.Q
-
class
ldapper.query.
Or
(ops)[source]¶ Bases:
ldapper.query.Q