Skip to content
Fernando Correa de Oliveira edited this page Mar 16, 2019 · 11 revisions

new example on #17:

model Artist {
   has UInt   $.id is column{ :id };
   has CD     @.cds is relationship{ .artist-id };
   has Tracks @.tracks = $!cds.flatmap: *.tracks;
}
Clone this wiki locally