0.1.17 • Published 10 years ago

gandalf-crud v0.1.17

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

gandalf-stores

gandalf-crud

#to get more than one record by id

batchGet:

sample :

gandalfLib.batchGetAsync({

	'gandalf-stores':{

		Keys:[

				{storeId:'s11102015194715'},

				{storeId:'s11102015195653'},

				{storeId:'s11102015102325'},

				{storeId:'s11102015102447'},

				{storeId:'s11102015194313'}

			]

		}

	}

)

.then(function(res){

	console.log('success batchget',res.Responses);

})

.catch(function(err){

	console.log('error batchGet',err);

})

#to get data by spesific filter

listSpesificAsync:

sample:

gandalfLib.listSpesificAsync({tableName:'gandalf-orders',attributesToGet:['dateTime']},{

  dateTime:{

	  AttributeValueList:['2015-10-10 8:1:3','2015-10-11 19:5:33'],

	  ComparisonOperator:"BETWEEN"

  }

})

.then(function(res){

	console.log('success',res)

})

.catch(function(err){

	console.log(err)

})
0.1.17

10 years ago

0.1.16

10 years ago

0.1.15

10 years ago

0.1.14

10 years ago

0.1.13

10 years ago

0.1.12

10 years ago

0.1.11

10 years ago

0.1.10

10 years ago

0.1.9

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago