1.0.14 • Published 5 years ago
that-simple-dynamo v1.0.14
That Simple Dynamo
Overview
A DynamoDB implementation of an IObjectStore
This allows the persistance if IModels into DynamoDB
See the following projects for more information:-
Example
// Initialise the datastore
let theObjectStore = new DynamoObjectStore({
region: process.env.AWS_DEFAULT_REGION,
accessKeyId: process.env.AWS_ACCESS_KEY_ID,
secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY,
endpoint: process.env.AWS_ENDPOINT
})
// Create a new item
let item = new MyModel()
item.id = '1234'
theObjectStore.put(item)
// Read an item
item = theObjectStore.get(MyModel, '1234')
// Query all Items
let items = theObjectStore.query()
// Delete an Item
theObjectStore.remove(item)
1.0.14
5 years ago
1.0.12
5 years ago
1.0.11
5 years ago
1.0.10
5 years ago
1.0.9
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
0.1.3
6 years ago
0.1.2
6 years ago
0.1.1
6 years ago
0.0.14
6 years ago
0.0.13
6 years ago
0.0.12
6 years ago
0.0.11
6 years ago
0.0.10
6 years ago
0.0.9
6 years ago
0.0.7
6 years ago
0.0.6
6 years ago
0.0.5
6 years ago
0.0.4
6 years ago
0.0.3
6 years ago
0.0.2
6 years ago