Commit Graph

70 Commits

Author SHA1 Message Date
Peter Gorniak
0c875fd268 fixes for python 2.6 and 3 2016-12-07 13:31:15 -08:00
Peter Gorniak
3c128fdb51 correct looping through update actions, value stripping, hash key regex 2016-12-07 11:47:48 -08:00
Peter Gorniak
390bef7752 fake change to force push because github was broken 2016-12-06 16:57:36 -08:00
Peter Gorniak
98a39cf4b5 account for keys potentially being substrings of other keys (e.g. #c1 and #c10) 2016-12-06 12:14:57 -08:00
Peter Gorniak
2c50561563 fix decoding keys in query condition 2016-11-29 14:04:23 -08:00
Peter Gorniak
5a7c711a74 bring dynamodb2 update expression handling closer to spec 2016-11-25 21:07:24 -08:00
Nuno Santos
71c1fbadbe Add DynamoDB tests for update_item() with UpdateExpression, support spaces in the UpdateExpression. (#758)
Fixes #745.
2016-11-11 17:04:14 -05:00
Nuno Santos
74b56faafd Attempt to parse simple ConditionExpressions in DynamoDB put_item().
Internally these get converted into simpler Expected={} parameters, so
for now only `attribute_exists` and `attribute_not_exists` are supported;
OR is also not suported since `expected` does not support it.
2016-11-04 12:37:10 +01:00
Steve Pulec
ef42676496 Merge pull request #712 from skygeo/fix_dynamodb_batch_write
fix: change dynamodb2 batch write response
2016-10-09 18:56:29 -04:00
Georges Chaudy
bd3dd23c6b fix: change dynamodb2 batch write response 2016-09-23 17:07:49 +01:00
Georges Chaudy
6b74487b31 fix: dynamodb2 conditions 2016-09-23 16:14:17 +01:00
Collin RM Stocks
1b65c45b56 ALWAYS use utcnow(), never now() 2016-09-07 14:40:52 -04:00
Victor Blaga
69888c3baa update_item takes into account ExpressionAttributeNames and ExpressionAttributeValues
ExpressionAttributeNames and ExpressionAttributeValues
are no longer ignored during update_item.
2016-06-21 17:45:22 +02:00
Steve Pulec
196e5a7d8d Fix dynamodb2 comparisons. Closes #601. 2016-05-05 23:39:14 -04:00
Steve Pulec
6803444d61 Fix Dynamodb table key name. Closes #524. 2016-05-05 22:14:23 -04:00
Jesse Vera
86b86fc066 Fixed DynamoDB 'IN' comparison function 2016-03-29 16:26:46 -05:00
Steve Pulec
fecbeb28a4 Merge pull request #567 from im-auld/query-filters-issue-164
Query filters issue 164
2016-03-28 23:52:49 -04:00
Ian Auld
8848995b93 Replaced dict comp with for loop for Python 2.6 compatibility 2016-03-16 22:15:58 -07:00
Ian Auld
e86b9f441c Added filter_kwargs to response to match boto interface 2016-03-16 21:32:15 -07:00
Ian Auld
d595c60ead Added support for query filtering" 2016-03-16 21:30:51 -07:00
Dmitry Zv
c52e9215b2 Fixed gen() doesn't have len() error. 2016-03-16 16:17:41 -06:00
Dmitry Zv
c2df7732e5 Added ScannedCount field to DynamoDB query response. 2016-03-16 15:53:29 -06:00
Brian Cavagnolo
6bab725b36 add dynamodb pagination 2016-03-01 15:00:23 -08:00
Steve Pulec
9596772546 Merge pull request #510 from pcraciunoiu/feature/dynamodb-add-value
Add value and UPDATE fixes
2016-01-17 15:40:07 -05:00
Paul Craciunoiu
aacdde7adc When hash/range key overlap, fix query logic. 2016-01-15 11:53:45 -07:00
Paul Craciunoiu
4e9f4bfbbf Fix for ReturnValues. 2016-01-15 11:53:45 -07:00
Paul Craciunoiu
bdd4ae824b Support ADD for numeric values 2016-01-15 11:53:43 -07:00
Paul Craciunoiu
88cd009c4d Return Item even when item is not found. 2016-01-14 16:20:33 -07:00
Ian Auld
9400cc3ba4 Added LocalSecondaryIndexes to describe property 2016-01-14 11:30:18 -08:00
Ian Auld
5c7f01ab29 Merge branch 'master' into Bug-Fix-Secondary-Indexes-Ignored 2016-01-13 15:29:59 -08:00
Ian Auld
3cbaed9734 Added support for local senondary indexes in DynamoDB2 2016-01-13 15:27:02 -08:00
Paul Craciunoiu
f3c1e21391 Delete missing attribute results in KeyError. 2016-01-11 11:16:15 -07:00
Steve Pulec
96479bf1dc Merge pull request #505 from joshink/master
Reverse before limit
2016-01-10 00:31:13 -05:00
Joshua Inkenbrandt
33f31652ea Reverse before limit 2016-01-09 17:58:06 -08:00
Paul Craciunoiu
c9f43c885a Support Select=COUNT when querying. 2016-01-08 17:35:14 -07:00
Paul Craciunoiu
f5406ad212 Handle delete updates. 2016-01-08 17:34:53 -07:00
Paul Craciunoiu
f1099dd006 Support update_item with map and numeric types. 2016-01-08 17:33:14 -07:00
Steve Pulec
9b0bce93dc Merge pull request #499 from im-auld/partial-save-support-with-range-key
Partial save support with range key
2016-01-08 17:23:04 -05:00
Ian Auld
33f023fdaf Added comments for clarity 2015-12-31 10:46:54 -08:00
Ian Auld
a0ed89c92d Added support for partial_save on tables with a hash and range key; Issue #498 2015-12-31 10:28:06 -08:00
Paul Craciunoiu
2cea05bd19 More support for GSI
* Support query via multiple KeyConditionExpressions
* Support GSI updates via table.update()
2015-12-14 15:42:18 -07:00
Paul Craciunoiu
4fa7d6283d Add query index support. 2015-12-13 23:16:25 -07:00
Steve Pulec
705ec314a3 Cleanup different places using unix_time() 2015-11-27 14:14:40 -05:00
Steve Pulec
4aa14960d2 Add support for partial updates and SS in dynamodb. 2015-11-11 21:59:55 -05:00
Steve Pulec
ab3682a55c py3 fix. 2015-11-07 16:58:39 -05:00
Steve Pulec
8d41d0019b Add basic support for AttributeUpdates in Dynamo update_item. Closes #449. 2015-11-07 16:45:24 -05:00
Michael
31d30c8ea4 return the correct response tryin to re-create a table 2015-09-10 11:31:46 +02:00
Pior Bastida
43ceb8b06a Fix incorrect dynamodb2 delete_item response
Attribute field must be a mapping (not a list)
2015-08-20 17:06:10 -04:00
Steve Pulec
e4408152d1 Add KeyConditionExpression to dynamo. 2015-08-01 19:32:33 -04:00
Steve Pulec
e5caaf5913 Fix for dynamodb2 attribute response. Closes #374. 2015-07-14 21:57:14 -04:00