FilteredEntityClass

FilteredEntityClass[class,f]

represents a class of entities where only entities for which the EntityFunction object f yields True are kept.

FilteredEntityClass[class,prop]

represents a class of entities where only entities for which the property prop is True are kept.

Details

Examples

open all close all

Basic Examples  (3)

Filter by a Boolean EntityProperty:

In[1]:=
Click for copyable input
Out[1]=

Filter entities by a Boolean EntityFunction:

In[1]:=
Click for copyable input
Out[1]=

When used with relational-database-backed entities, FilteredEntityClass is effectively compiled to a WHERE statement:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Scope  (2)

Properties & Relations  (1)

Neat Examples  (1)

Introduced in 2019
(12.0)