mirror of
https://github.com/Ratstail91/sineql-demo.git
synced 2026-05-05 23:30:11 +10:00
queryBook and createBook are working
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
const Book = require('./book');
|
||||
const Author = require('./author');
|
||||
|
||||
//relations
|
||||
Author.hasMany(Book);
|
||||
|
||||
//collate
|
||||
module.exports = {
|
||||
Book,
|
||||
Author,
|
||||
};
|
||||
Reference in New Issue
Block a user