0.0.10 • Published 4 years ago
duck-storage-mongodb v0.0.10
Installation
$ npm i duck-storage-mongodb --save
# or
$ yarn add duck-storage-mongodbFeatures
computes index keys
const someSchema = new Schema({
  name: {
    type: String,
    index: true
  },
  email: {
    type: String,
    unique: true
  },
  address: {
    street: String,
    zip: {
      type: Number,
      index: true
    }
  }
})
t.snapshot(computeKeys(someSchema))License
© 2020-present Martin Rafael Gonzalez tin@devtin.io