Overview¶
Squish does not search through all "special" container objects when they are likely to contain a very large number of objects.
The following examples demonstrate how to search for one or all instances of certain objects in all suitable containers.
Finding the first instance of an object in all containers¶
This example demonstrates how to search through all instances of a specific container type for the first instance of an object.
The object to be searched for and the desirable container objects must be identified ("described") via How Squish looks up Real Names from Symbolic Names :
JavaScript:
Finding all object instances in all container instances¶
This examples demonstrates retrieving all object instances in all container instances.
The object to be searched for and the desirable container objects must be identified ("described") via How Squish looks up Real Names from Symbolic Names :
Python: