instances
instances
returns all the instances of the type(s) specified. It should be used in combination with count
or get_properties_from_instances
. Like other declarations, an optional where clause is also supported.
instances(Person, AccountHolder)
instances(Person where self.first_name = 'Thorben')
This will give you all instances that are of the type Person that have the
first_name
Thorben.Last modified 1yr ago