阅读背景:

在Strongloop环回模型中自动增加属性值

来源:互联网 

Is there a built-in way to auto increment a model's property value is Strongloop loopback ? This model has a property named orderNumber and I want it to start at 1 and increment by 1 every time a new model is created. This model is persisted to a mongo DB. If Strongloop loopback does not have a built in way, then what would be considered best practice using javaScript, Node and mongoDB ?Is there a built-in way to auto increment a mod




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

分享到: