CodeLionX / actordb

Actor Database System Framework using Akka
MIT License
0 stars 2 forks source link

Create RelationDef subtypes for Relation implementations (e.g. SingleRowRelationDef) #118

Open srfc opened 6 years ago

srfc commented 6 years ago

Issue

Problem Description

// Dactor class Film(id: Int) extends Dactor(id) { override protected val relations: Map[RelationDef, MutableRelation] = createRelations(Set(Film.Info, Film.Cast)) // a single relation instantiation function! override def receive: Receive = Actor.emptyBehavior }


- This will also make it easier to develop a DSL for data modelling