It's a little buggy, but matching is working

This commit is contained in:
2020-09-06 01:54:31 +10:00
parent d52b63bcf4
commit 5183f89c91
3 changed files with 76 additions and 30 deletions

View File

@@ -19,6 +19,17 @@ let authors = [
{ title: 'The Wind in the Willows', published: '1 April 1908' }
]
},
{
name: 'KayneRuse',
books: [
{ title: 'alpha', published: "1" },
{ title: 'beta', published: "2" },
{ title: 'gamma', published: "3" },
{ title: 'delta', published: "4" },
{ title: 'epsilon', published: "5" },
]
},
];
//insert the authors into the books (relationship)