molecule.base.api.DataModelApi.refOptions
Attributes
-
Source
-
DataModelApi.scala
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Known subtypes
-
Members list
Apply namespace type to reference.
Apply namespace type to reference.
Type parameters
-
RefNs
-
Ref namespace type
Attributes
-
Source
-
DataModelApi.scala
Owner option.
This entity owns the referenced entity/entities.
- If this entity is deleted, its references are deleted too (and recursively if sub entities have owned entities!)
Specifies that an attribute whose type is :db.type/ref is a component.
Referenced entities become subcomponents of the entity to which the attribute is applied.
When you retract an entity with :db/retractEntity, all subcomponents are also retracted.
When you get the graph of an entity, all its subcomponent entities are fetched recursively.
Attributes
-
Source
-
DataModelApi.scala