bookshelfjs destroy where and where

后端 未结 0 428
耶瑟儿~
耶瑟儿~ 2020-12-10 02:10

is it safe to do this?

await MyModel.where(toSnakeCase(userID), user.id).
          where(toSnakeCase(shopId), user.shopId).destroy();

within

相关标签:
回答
  • 消灭零回复
提交回复
热议问题