1.5.0 • Published 5 months ago

loopback-datatype-objectid v1.5.0

Weekly downloads
105
License
MIT
Repository
github
Last release
5 months 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

5 months ago

1.1.0

3 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago