@edcarroll/hydrate-mongodb-shortid
v1.0.1
Published
ShortID Generator for hydrate-mongodb
Downloads
7
Readme
hydrate-mongodb-shortid
ShortID Generator for hydrate-mongodb
Install
npm install --save @edcarroll/hydrate-mongodb-shortid
Example
import {Configuration} from "@edcarroll/hydrate-mongodb";
import {ShortIDGenerator} from "@edcarroll/hydrate-mongodb-shortid"
let dbConfig = new Configuration();
dbConfig.identityGenerator = new ShortIDGenerator();