cm-iwata
9bf8fd3417
fix #2011 ( #2012 )
...
add support for Scan method using LSI or GSI
2019-05-21 17:45:30 +01:00
Gary Donovan
0b15bb13b6
Make EQ conditions work reliably in DynamoDB.
...
The AWS API represents a set object as a list of values. Internally
moto also represents a set as a list. This means that when we do value
comparisons, the order of the values can cause a set equality test to
fail.
2019-01-10 21:39:12 +11:00
Gary Donovan
802402bdba
Tweak comparison to treat NULL/NOT_NULL correctly. ( #1709 )
...
The AWS documentation says that a ComparisonOperator of NULL means
the attribute should not exist, whereas NOT_NULL means that the
attribute should exist. It explicitly says that an attribute with a
value of NULL is considered to exist, which contradicts our previous
implementation. This affects both put_item and get_item in dynamodb2.
https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Condition.html
2018-07-13 10:11:10 +01:00
Terry Cain
5c02085d3a
Fixed testcases after nonglobaling dynamo
2017-10-29 16:25:17 +00:00
Greg Sterin
be07fbda52
Support Expected in dynamoDB updateItem
2017-06-09 17:34:29 -07:00
Steve Pulec
15b811901b
Merge pull request #925 from JackDanger/idempotent-dynamodb2-deletes
...
Idempotent Dynamodb2 deletes
2017-05-10 22:07:12 -04:00
Steve Pulec
0adebeed24
Merge #913 .
2017-05-10 21:58:42 -04:00
Jack Danger Canty
8e3d46fb05
Deleting from an unknown table raises error
...
If the table exists then we deletes are idempotent
2017-05-08 17:25:59 -10:00
Steve Pulec
f37bad0e00
Lints.
2017-02-23 21:37:43 -05:00
Steve Pulec
fde721bed7
Testing new version of decorator.
2017-02-15 22:35:45 -05:00
Georges Chaudy
6b74487b31
fix: dynamodb2 conditions
2016-09-23 16:14:17 +01:00
Victor Blaga
cb36a8b10f
Fix dynamodb_v2 update_item tests
...
Update expression has the wrong syntax. Something like :bar denotes a
placeholder which has to be filled by supplying an additional
ExpressionAttributeNames
2016-06-21 17:46:37 +02:00
Steve Pulec
6803444d61
Fix Dynamodb table key name. Closes #524 .
2016-05-05 22:14:23 -04: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
4e9f4bfbbf
Fix for ReturnValues.
2016-01-15 11:53:45 -07:00
Ian Auld
dd6cc305cd
Updated more tests.
2016-01-14 14:51:47 -08:00
Steve Pulec
8d41d0019b
Add basic support for AttributeUpdates in Dynamo update_item. Closes #449 .
2015-11-07 16:45:24 -05:00
Steve Pulec
e4408152d1
Add KeyConditionExpression to dynamo.
2015-08-01 19:32:33 -04:00
Steve Pulec
c9db7765df
Fix dynamo item not found.
2015-07-13 10:33:36 -04:00
Alan Jaffe
898d200110
Add tests for ConditionalCheckFailedException
2015-07-08 11:55:12 -04:00
Steve Pulec
82f19952dd
Add Dynamodb2 global indexes. Closes #329 .
2015-03-14 15:02:43 -04:00
Steve Pulec
e66916d5f1
Start to add basic support for dynamodb2 item updating. Closes #16 .
2014-11-29 22:03:29 -05:00
Steve Pulec
06a635aeaa
Remove dynamodb Py3 boto restrictions since we only test newer boto now.
2014-11-27 08:03:47 -05:00
David Baumgold
eedb4c4b73
Support Python 3 using six
2014-08-28 10:57:43 -04:00
David Baumgold
4201e6b430
from __future__ import unicode_literals
2014-08-27 11:33:55 -04:00
Steve Pulec
63799f3af8
Restrict tests to new version since we have change the behavior.
2014-07-22 21:53:54 -04:00
Steve Pulec
12d61ede41
Updating dynamodb2 tests for newer boto.
2014-07-22 21:47:56 -04:00
Sorin
6277f72c07
add try catch for missing package in old boto versions
2014-01-07 12:59:36 +02:00
Sorin
b31c3ab8a5
use requires_boto_gte instead of removing the earlier versions
2014-01-07 10:56:51 +02:00
creyer
48cfd19fe6
dynamodb v2 no indexes
2013-12-10 11:51:54 +02:00