many

molecule.base.api.DataModelApi.many
See themany companion trait
object many extends many

Attributes

Companion
trait
Source
DataModelApi.scala
Graph
Supertypes
trait many
trait refOptions[many]
trait Requierable
class Object
trait Matchable
class Any
Show all
Self type
many.type

Members list

Value members

Inherited methods

def apply[RefNs](description: String): refOptions[Self]

Attributes

Inherited from:
refOptions
Source
DataModelApi.scala
def apply[RefNs](implicit x: DummyImplicit): refOptions[Self]

Apply namespace type to reference.

Apply namespace type to reference.

Type parameters

RefNs

Ref namespace type

Attributes

Inherited from:
refOptions
Source
DataModelApi.scala
def require(attrs: Requierable*): Self

Attributes

Inherited from:
refOptions
Source
DataModelApi.scala

Inherited fields

lazy val mandatory: many

Attributes

Inherited from:
refOptions
Source
DataModelApi.scala
lazy val owner: many

Owner option.

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

Inherited from:
refOptions
Source
DataModelApi.scala