Karl Gutwin
0b57ffe26a
Add StreamSpecification to dynamodb2 package
2018-11-07 15:03:25 -05:00
Drew Pearce
ecc7c24467
simple fix for not equals in dynamodb filter expressions. i suspect this was just a typo
2018-10-23 15:54:56 -04:00
Gary Donovan
81f96c4ceb
Don't compare a dict_keys object to a list, since it is always False
2018-10-17 11:08:44 +11:00
Steve Pulec
a22cb410b0
Merge pull request #1872 from uncovertruth/fix/wrong_type_if_exists
...
Fix wrong type if exists
2018-10-15 00:38:08 -04:00
Kosei Kitahara
13c2e69932
Allow extra spaces to attribute_exists and attribute_not_exists too
2018-10-12 16:59:52 +09:00
Kosei Kitahara
cf157287e7
Fix wrong type if exists
2018-10-12 16:08:05 +09:00
Kosei Kitahara
2c15d71c2c
Allow spaces to if_not_exists
2018-10-11 18:21:53 +09:00
Tomoya Iwata
2fad7c7202
update dynamodb2 update_item
...
add empty string handle, fix(#1744 )
2018-08-02 12:38:50 +09: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
William Richard
8b7875ec02
Ensure that table.global_indexes and table.indexes are lists
2018-06-06 12:56:19 -04:00
Mau Zsófia Ábrahám
2e75d0219c
Support dynamodb2 nested map creation to mirror actual db
2018-05-14 14:02:14 +02:00
Steve Pulec
05f16cfcf9
Fixes to dynamodb empty keys.
2018-04-18 22:23:17 -04:00
Steve Pulec
783504c897
We shouldnt throw a ValidationException on empty dynamodb key. Closes #1505 .
2018-04-14 11:16:43 -04:00
sawandas
09ac77d979
Issue #1539 : Fixing dynamodb filtering (contains, begins with)
...
Currently contains and begins with are not respecting the given filter value
2018-04-09 12:10:44 +05:30
Andrew Jefferson
bf136584a9
Put projection after filter so that filters can act on fields that ar… ( #1470 )
...
* Put projection after filter so that filters can act on fields that are not projected
* fixing whitespace
2018-03-21 09:02:31 -07:00
Terry Cain
a1f2ba21ee
Adds if_not_exists function to DynamoDB Update Expression
...
Fixes #1358
2017-11-26 22:29:23 +00:00
Terry Cain
2609f6cd3a
Added support for dynamo update_item on nested dicts ( #1345 )
2017-11-17 08:49:59 +00:00
Jack Danger
068417b1f2
Merge pull request #1334 from reinecke/fix/dynamo_projection_mutation
...
dynamodb2: Fix for ProjectionExpressions changing the data in storage
2017-11-12 08:05:33 -08:00
Jack Danger
123f369e6e
Merge pull request #1333 from terrycain/fix_1043
...
DynamoDB: Fixed requiring optional parameter
2017-11-11 14:06:51 -08:00
Eric Reinecke
64fb0207e2
dynamodb2 was evaluating ProjectionExpression on the wrong local result set
2017-11-10 21:57:16 -08:00
Eric Reinecke
06492026c3
dynamodb2 items are copied when using ProjectionExpression to avoid mutating originals
2017-11-10 21:35:01 -08:00
Terry Cain
5858289596
Fixed Bug
2017-11-10 21:07:22 +00:00
Terry Cain
884fc6f260
Adds FilterExpression to dynamodb.query ( #1326 )
...
* Added FilterExpression for dynamodb.query
* flake8
* Fixes using mutable default argument values
2017-11-08 22:53:31 +00:00
Terry Cain
f6961b7108
flake8
2017-10-29 16:10:30 +00:00
Terry Cain
ab767416fe
Completed DynamoDBv2 endpoints
2017-10-29 16:06:09 +00:00
Terry Cain
e9852c381b
Make improvements to filter expression, added NOT keyword
2017-10-22 23:20:00 +01:00
Terry Cain
49ddb500a8
AWS X-Ray client mock. ( #1255 )
...
* X-Ray Client SDK patched
Fixes #1250
* Fixed flake8
* Fixed some issues
* Fixed flake8
* Fixed more typos
* Fixed python2 string
* Fixed aws-sdk patch order
* Added more test cases to test the patching
2017-10-16 17:06:22 -07:00
Terry Cain
2bb3e841d1
Fixed #1261 dynamodb FilterExpression bugs ( #1262 )
...
* Fixed #1261 dynamodb FilterExpression bugs
FilterExpression was incorrectly handling numbers, stupid typo there. Also >= <= and <> was not being parsed correctly.
* Switched up logic a bit for better end result. Fixes #1263
* Fixed another bug
2017-10-16 13:56:03 -07:00
Terry Cain
9a6ded32ea
More spelling
2017-10-08 10:36:02 +01:00
Terry Cain
9f59f1f7ca
Spelling fix ;-)
2017-10-08 10:34:30 +01:00
Terry Cain
77fcafca18
Cleaned up code
2017-10-08 04:18:25 +01:00
Terry Cain
a5895db4f8
Python27 string type fix
2017-10-07 22:20:16 +01:00
Terry Cain
c86bece382
Added FilterExpression to dynamodb scan
2017-10-07 21:57:14 +01:00
Chris Keogh
84bd16d2a2
get_item update_item return capacity consumed correctly
2017-09-25 11:39:09 +13:00
Chris Keogh
d0f38407a1
update expression attribute test
2017-09-22 15:52:32 +12:00
Chris Keogh
87d7cacda6
Merge branch 'master' of https://github.com/spulec/moto
2017-09-22 15:44:44 +12:00
Chris Keogh
8840495f77
add AttributeValueNames for basic ProjectionExpressions on query
2017-09-22 15:40:30 +12:00
Chris Keogh
037b357029
add basic projection expressions
2017-09-22 13:12:24 +12:00
Chris Keogh
51c3fec6dd
fix scan return CapacityUnits
2017-09-20 13:57:26 +12:00
Terry Cain
16e0326fe7
Fixed #1162
2017-09-19 21:43:55 +01:00
Brian Rower
c1c592609a
Fix python 2.7 issue
2017-09-12 23:30:15 -07:00
Brian Rower
6affc7a4ec
Add basic support for the add operation in an update operation
...
Add basic delete functionality
Improve testing coverage and make behave more like actual dynamo on errors
Lint fix
2017-09-12 21:42:29 -07:00
Chris Keogh
6ee204e458
fix server mode test
2017-09-12 14:55:43 +12:00
Chris Keogh
2a66ae2bfd
fix linting errors
2017-09-12 11:18:48 +12:00
Chris Keogh
722859748e
Merge branch 'master' of https://github.com/spulec/moto into add-empty-string-validation-exception
2017-09-12 10:52:46 +12:00
Chris Keogh
ed820cc80e
return validation error for empty attribute
2017-09-12 09:28:36 +12:00
Jack Danger
d7e64fc927
Merge pull request #1127 from brianrower/feature/add-string-set
...
Dynamodb2 - Allow doing an ADD update_item of a string set
2017-09-11 12:33:41 -07:00
Jack Danger
550562cbd4
Merge pull request #1092 from ssolari/issue#1091
...
fix uppercase only issue in update_expression #1091
2017-09-11 12:33:09 -07:00
Brian Rower
386ac94abe
Allow doing an ADD update of a string set
...
Fix test
2017-09-11 12:07:34 -07:00
Mike Grima
76b7101bc3
Fixed a bug where Dynamo registers STS and sts calls go to dynamo ( #1097 )
...
Fixes #1095
2017-09-07 11:25:14 -07:00