我正在尝试使用书架集合并返回整个表格< at CollectionBase (/projects/twitter/node_modules/bookshelf/lib/base/collection.js:30:18)
< at child [as constructor] (/projects/twitt
我将knex更新为0.16.2版,书架为0.14.1,但当我使用书架上的事务时,如下所示: at Object.transaction (/Users/abc/Desktop/proj/backend/node_modules/bookshelf/lib/bookshelf.js:249:36)
at Function.a
Introduction我在sqlserver中得到了一个sql错误,因为bookshelf.js或knex.js修改了我的表名,从而扰乱了我的模式:我想知道是否有办法保持我的表名不变,还是将我的模式定义为它自己的字段复制问题的步骤const User = bookshelf.model('User',