0.1.17 • Published 8 years ago

gandalf-crud v0.1.17

Weekly downloads
2
License
MIT
Repository
github
Last release
8 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

8 years ago

0.1.16

8 years ago

0.1.15

9 years ago

0.1.14

9 years ago

0.1.13

9 years ago

0.1.12

9 years ago

0.1.11

9 years ago

0.1.10

9 years ago

0.1.9

9 years ago

0.1.8

9 years ago

0.1.7

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago