Returns the value associated with an attribute.
Returns the value associated with an attribute.
the attribute to lookup in the entity.
the value associated with attr
in this entity.
EntityKeyNotFoundException
when the attribute does not exist.
The return type is inferred automatically as the implicit ensures there is a unique return type for the Datomic data type specified by the attribute.
Optionally returns the value associated with an attribute.
Optionally returns the value associated with an attribute.
the attribute to lookup in the entity.
an option value containing the value associated with
attr
in this entity, or None
if none exists.
The return type is inferred automatically as the implicit ensures there is a unique return type for the Datomic data type specified by the attribute.
Optionally returns an IdView of the entity associated with a ref attribute.
Optionally returns an IdView of the entity associated with a ref attribute.
the attribute to lookup in the entity.
an option value containing the IdView of the entity associated with
attr
in this entity, or None
if none exists.
The return type must be explicitly specified, and the implicit ensures that it is a valid pairing with the Datomic data type specified by the attribute.
Optionally returns a set of IdViews of the entities associated with a many-ref attribute.
Optionally returns a set of IdViews of the entities associated with a many-ref attribute.
the attribute to lookup in the entity.
an option value containing the set of IdViews of the entities associated with
attr
in this entity, or None
if none exists.
The return type must be explicitly specified, and the implicit ensures that it is a valid pairing with the Datomic data type specified by the attribute.
Returns an IdView of the entity associated with a ref attribute.
Returns an IdView of the entity associated with a ref attribute.
the attribute to lookup in the entity.
the IdView of the entity associated with attr
in this entity.
EntityKeyNotFoundException
when the attribute does not exist.
The return type must be explicitly specified, and the implicit ensures that it is a valid pairing with the Datomic data type specified by the attribute.
Returns a set of IdViews of the entities associated with a many-ref attribute.
Returns a set of IdViews of the entities associated with a many-ref attribute.
the attribute to lookup in the entity.
the set of IdViews of the entities associated with attr
in this entity.
EntityKeyNotFoundException
when the attribute does not exist.
The return type must be explicitly specified, and the implicit ensures that it is a valid pairing with the Datomic data type specified by the attribute.
Returns the value associated with an attribute.
Returns the value associated with an attribute.
the value associated with attr
in this entity.
EntityKeyNotFoundException
when the attribute does not exist.
The return type must be explicitly specified, and the implicit ensures that it is a valid pairing with the Datomic data type specified by the attribute.
Optionally returns the value associated with an attribute.
Optionally returns the value associated with an attribute.
an option value containing the value associated with
attr
in this entity, or None
if none exists.
The return type must be explicitly specified, and the implicit ensures that it is a valid pairing with the Datomic data type specified by the attribute.
Returns the value associated with an attribute, or a default value if the attribute is not contained in the entity.
Returns the value associated with an attribute, or a default value if the attribute is not contained in the entity.
the attribute to lookup in the entity.
a computation that yields a default value in case the attribute is not found in the entity.
the value associated with attr
in this entity,
otherwise the result of the default
computation..
The default value guides the type inference, and the implicit ensures that it is a valid pairing with the Datomic data type specified by the attribute.