select()

This method selects all models matching a specified callable option. This is a wrapper for the getIterator() method, which iterates over the collection of all models, passing each to the selector object and returning those for which the selector object returns true.

This page discusses:

Arguments

selector: Python callable object.

Return Value

Returns a Python list of modelObject objects (a list-like object containing dictionary-like objects).