dynamodb-mapper
Version:
A fast, easy to use mapper to convert Amazon DynamoDB to and from Javascript Objects.
20 lines (12 loc) • 321 B
JavaScript
var _ = require('lodash');
var Converter = require('./converter');
function StringSetConverter() {
var self = new Converter();
self.name = 'SS';
self.dynamoDBType = 'SS';
self.isValid = function isStringSetValid(value) {
return _.isArray(value);
};
return self;
}
module.exports = StringSetConverter;