queryBook and createBook are working

This commit is contained in:
2022-02-27 12:12:20 +00:00
parent 6fe88da331
commit ce41108140
13 changed files with 748 additions and 16 deletions
+11
View File
@@ -0,0 +1,11 @@
const Book = require('./book');
const Author = require('./author');
//relations
Author.hasMany(Book);
//collate
module.exports = {
Book,
Author,
};