Closed vctqs1 closed 4 years ago
I read example and see that
type Query { author(id Int): () => data.find(e => e.id === id) }
data is existing json from another file. And here I want to call data from database. Example Sequelize. How to custom here?
data
And I'm so sorry because my english does not good.
I read example and see that
data
is existing json from another file. And here I want to call data from database. Example Sequelize. How to custom here?And I'm so sorry because my english does not good.