阅读背景:

Loopback.js实例化没有数据库事务的PersistedModel

来源:互联网 

Is it possible to instantiate a PersistedModel subclass without having to wait for the database transaction to go through? I know ModelClass.create({...}) will return a promise which resolves when the instance is created, but is there a version of that which just returns an unsaved ModelClass instance?Is it possible to instantiate a PersistedModel




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: