how to create mysql schema in nodejs

前端 未结 1 1270
攒了一身酷
攒了一身酷 2021-02-19 16:59

I am using nodejs, express framework and mysql for my database. I would like to know how can I replicate this mongoose code using mysql. I cannot find a way to write my sql sche

相关标签:
1条回答
  • 2021-02-19 17:54

    you can use any of:
    bookshelf
    knex
    objection
    orm
    sequelize

    see compare between that:

    https://npmcompare.com/compare/bookshelf,knex,objection,orm,sequelize

    This tutorial maybe help you to use of "sequelize": Creating a Role-Based User Authentication System with Angular, Express and MySQL

    0 讨论(0)
提交回复
热议问题