nodejs-graphql-mysql-example
nodejs-graphql-mysql-example copied to clipboard
how to get relations data?
Thank for your sharing this example project. however, I don't know how to get relation data Is it able to set hasOne, hasMany, belongsTo for each models?
Thank
Hello, How Can I do that for join tables? thank you
Hi, you can use Sequelize to solve for MySQL, MariaDB, Postgres or MySQL database you can also visit for another issues
https://sequelize.org/master/manual/getting-started.html
And also a beneficial article for this https://codeburst.io/build-a-rest-api-for-node-mysql-2018-jwt-6957bcfc7ac9
Hello, how can I do the list of id's using graphql