inlaweb-lib-dynamodb 1.0.14 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +5 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -183,6 +183,11 @@ class DynamoLib {
183
183
  case "attribute_exists":
184
184
  params.FilterExpression += `attribute_exists (#key${index})`;
185
185
  break;
186
+ case "BETWEEN":
187
+ params.FilterExpression += `#key${index} ${searchParameter.filterOperator} :value${index} AND :value1${index}`;
188
+ params.ExpressionAttributeValues[`:value1${index}`] =
189
+ searchParameter.value1;
190
+ break;
186
191
  default:
187
192
  params.FilterExpression += `#key${index} ${searchParameter.filterOperator} :value${index}`;
188
193
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inlaweb-lib-dynamodb",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/types/index.d.ts",
6
6
  "scripts": {