duck-storage-mongodb

0.0.10 • Public • Published

duck-storage-mongodb

Version

mongodb plugin for duck-storage

Installation

$ npm i duck-storage-mongodb --save
# or
$ yarn add duck-storage-mongodb

Features

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

MIT

© 2020-present Martin Rafael Gonzalez tin@devtin.io

Dependencies (5)

Dev Dependencies (20)

Package Sidebar

Install

npm i duck-storage-mongodb

Weekly Downloads

0

Version

0.0.10

License

MIT

Unpacked Size

22 kB

Total Files

13

Last publish

Collaborators

  • tin_r