| |
- __builtin__.list(__builtin__.object)
-
- QueryableList.Base.QueryableListBase
-
- QueryableListDicts
- QueryableListObjs
class QueryableListBase(__builtin__.list) |
|
QueryableListBase - The base implementation of a QueryableList.
Any implementing classes should only have to implement the "_get_item_value(item, fieldName)" method, to return the value of a given field on an item.
You cannot use this directly, instead use one of the implementing classes (like QueryableListDicts or QueryableListObjs), or your own implementing class. |
|
- Method resolution order:
- QueryableListBase
- __builtin__.list
- __builtin__.object
Methods defined here:
- filter = filterAnd(self, **kwargs)
- filterAnd(self, **kwargs)
- filter/filterAnd - Performs a filter and returns a QueryableList object of the same type.
All the provided filters must match for the item to be returned.
@params are in the format of fieldName__operation=value where fieldName is the name of the field on any given item, "operation" is one of the given operations (@see main documentation) (e.x. eq, ne, isnull), and value is what is used in the operation.
@return - A QueryableList object of the same type, with only the matching objects returned.
- filterOr(self, **kwargs)
- filterOr - Performs a filter and returns a QueryableList object of the same type.
Anythe provided filters can match for the item to be returned.
@params are in the format of fieldName__operation=value where fieldName is the name of the field on any given item, "operation" is one of the given operations (@see main documentation) (e.x. eq, ne, isnull), and value is what is used in the operation.
@return - A QueryableList object of the same type, with only the matching objects returned.
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class QueryableListDicts(QueryableList.Base.QueryableListBase) |
|
QueryableListDicts - QueryableList where each item is or extends dict (or implements __getitem__) |
|
- Method resolution order:
- QueryableListDicts
- QueryableList.Base.QueryableListBase
- __builtin__.list
- __builtin__.object
Methods inherited from QueryableList.Base.QueryableListBase:
- filter = filterAnd(self, **kwargs)
- filter/filterAnd - Performs a filter and returns a QueryableList object of the same type.
All the provided filters must match for the item to be returned.
@params are in the format of fieldName__operation=value where fieldName is the name of the field on any given item, "operation" is one of the given operations (@see main documentation) (e.x. eq, ne, isnull), and value is what is used in the operation.
@return - A QueryableList object of the same type, with only the matching objects returned.
- filterAnd(self, **kwargs)
- filter/filterAnd - Performs a filter and returns a QueryableList object of the same type.
All the provided filters must match for the item to be returned.
@params are in the format of fieldName__operation=value where fieldName is the name of the field on any given item, "operation" is one of the given operations (@see main documentation) (e.x. eq, ne, isnull), and value is what is used in the operation.
@return - A QueryableList object of the same type, with only the matching objects returned.
- filterOr(self, **kwargs)
- filterOr - Performs a filter and returns a QueryableList object of the same type.
Anythe provided filters can match for the item to be returned.
@params are in the format of fieldName__operation=value where fieldName is the name of the field on any given item, "operation" is one of the given operations (@see main documentation) (e.x. eq, ne, isnull), and value is what is used in the operation.
@return - A QueryableList object of the same type, with only the matching objects returned.
Data descriptors inherited from QueryableList.Base.QueryableListBase:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class QueryableListObjs(QueryableList.Base.QueryableListBase) |
|
QueryableListObjs - QueryableList where each item extends object (or implements __getattribute__) |
|
- Method resolution order:
- QueryableListObjs
- QueryableList.Base.QueryableListBase
- __builtin__.list
- __builtin__.object
Methods inherited from QueryableList.Base.QueryableListBase:
- filter = filterAnd(self, **kwargs)
- filter/filterAnd - Performs a filter and returns a QueryableList object of the same type.
All the provided filters must match for the item to be returned.
@params are in the format of fieldName__operation=value where fieldName is the name of the field on any given item, "operation" is one of the given operations (@see main documentation) (e.x. eq, ne, isnull), and value is what is used in the operation.
@return - A QueryableList object of the same type, with only the matching objects returned.
- filterAnd(self, **kwargs)
- filter/filterAnd - Performs a filter and returns a QueryableList object of the same type.
All the provided filters must match for the item to be returned.
@params are in the format of fieldName__operation=value where fieldName is the name of the field on any given item, "operation" is one of the given operations (@see main documentation) (e.x. eq, ne, isnull), and value is what is used in the operation.
@return - A QueryableList object of the same type, with only the matching objects returned.
- filterOr(self, **kwargs)
- filterOr - Performs a filter and returns a QueryableList object of the same type.
Anythe provided filters can match for the item to be returned.
@params are in the format of fieldName__operation=value where fieldName is the name of the field on any given item, "operation" is one of the given operations (@see main documentation) (e.x. eq, ne, isnull), and value is what is used in the operation.
@return - A QueryableList object of the same type, with only the matching objects returned.
Data descriptors inherited from QueryableList.Base.QueryableListBase:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |