@mimik/dynamosizer
v1.6.8
Published
Helper for setting up dynamoose using dynamoose for microservices
Downloads
4
Readme
dynamosizer
Example
const dynamodb = require('@mimik/dynamosizer');
- dynamosizer
- async
- ~validate() ⇒ Promise
- sync
- ~initializeSync() ⇒ object
- async
dynamosizer~validate() ⇒ Promise
Database connection validation.
Kind: inner method of dynamosizer
Returns: Promise - .
Category: async
Throws:
- Promise Will throw an error if the database connection is not
established
.
Requires: module:@mimik/sumologic-winston-logger
Fulfil: Return null
.
dynamosizer~initializeSync() ⇒ object
Database initialization.
Kind: inner method of dynamosizer
Returns: object - The database object.
Category: sync
Requires: module:sumologic-winston-logger