1.5.0 • Published 2 years ago

loopback-datatype-objectid v1.5.0

Weekly downloads
105
License
MIT
Repository
github
Last release
2 years ago

loopback-datatype-objectid

Setup

add require('loopback-datatype-objectid')(app) in server.js before boot is called

Using ObjectID type

In a LoopBack model, declare a ObjectID property in the model JSON file, for example:

...
"properties": {
    "id": {
      "type": "objectid",
      "id": true
    },
  ...
}
...

License: MIT

1.5.0

2 years ago

1.1.0

4 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago