clarkie / dynogels

DynamoDB data mapper for node.js. Originally forked from https://github.com/ryanfitz/vogels
Other
490 stars 110 forks source link

Allow access to table schema from model #75

Closed servel333 closed 6 years ago

servel333 commented 7 years ago

Use case: Writing a maintenance script to add fiends to a model, writing a generic method that takes the model as a parameter and using the Model.schema.hashKey to get the hash key name in order to update records.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-1.3%) to 97.371% when pulling 4d4673250ea89458bf9504adf311161d65f01560 on servel333:patch-1 into d327665b1ad475d1b2aba4ae4dd3a86db8b34685 on clarkie:master.