linvodb3
linvodb3 copied to clipboard
Does updateAsync possible with bluebird?
hi gyus faced with problem... Bluebird does perfectly all with find and exec! But i cant recieve Promise from update and insert, is it possible?
@serzhiio well, you can write code like :
const insert = bluebird.promisify(Model.insert, {context: Model})
insert({xx:xxx}).then(...).catch(...)