-
-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Labels
help wantedExtra attention is neededExtra attention is needed
Description
model CD {
has $!artist-id is referencing{ Artist.id };
has Artist $.author is relationship{ .artist-id };
}
model Artist {
has UInt $.id is column{ :id };
has CD @.cds is relationship{ .artist-id };
}The trait will receive a block and run it passing: if the type of the attribute is positional the attribute type, else the model’s type. It’s return should be a column that is referencing some other column. It will create a new result seq using that.
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed