Advertisement
Xliff

Collection of Models for Red

Mar 15th, 2019
479
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. Collection AB {
  2. model B is table<bbb> { ... }
  3. model A is table<aaa> { has UInt $.id is serial; has B @.bs is relationship{ .a-id } }
  4. model B { has UInt $.id is serial; has UInt $.a-id is referencing{ A.id }; has A $.a is relationship{ .a-id } }
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement