sails-dynamo-v1
Version:
A dynamodb adapter for Sails / Waterline compatible with SailsJS v1
25 lines (24 loc) • 493 B
JavaScript
module.exports = {
datastoreName: 'default',
query: {
method: 'create',
using: 'testdb',
newRecord: {
deviceId: 'a',
timestamp: '12341234',
name: 'adpater',
newName: 'hello',
siteId: 'site',
someStringList: ['a', 'b'],
someNumberList: [1, 2],
someList: { a: 'b' },
yesNo: true,
createdAt: 1566800907423,
updatedAt: 1566800907423,
id: null,
data: null,
num: 0
},
meta: undefined
}
};