摘要:
1.驗證枚舉類型 var schema = { "properties": { "data": { "type": "object", "required": ["code", "status", "message", "data", "token"], "properties": { "code" 閱讀全文
posted @ 2021-08-28 16:52
江山一族
閱讀(781)
評論(0)
推薦(0)
摘要:
1.事務 try { const transaction = await sequelize.transaction(); const user = await User.findOne(..., { transaction }); await user.update(..., { transact 閱讀全文
posted @ 2021-08-28 16:44
江山一族
閱讀(208)
評論(0)
推薦(0)

浙公網安備 33010602011771號