@xapp/dynamo-service
Advanced tools
Comparing version 0.0.55 to 0.0.56
@@ -25,2 +25,3 @@ import { DynamoDB } from "aws-sdk"; | ||
containsAny(value: string | string[]): Conjunction<T>; | ||
isBetween(value1: string | number, value2: string | number): Conjunction<T>; | ||
exists: Conjunction<T>; | ||
@@ -27,0 +28,0 @@ doesNotExist: Conjunction<T>; |
@@ -214,2 +214,8 @@ "use strict"; | ||
} | ||
isBetween(value1, value2) { | ||
const valueCode1 = this.scanQuery.addValue(value1); | ||
const valueCode2 = this.scanQuery.addValue(value2); | ||
this.scanQuery.addExpression(this.code + " BETWEEN " + valueCode1 + " AND " + valueCode2); | ||
return new ConjunctionImpl(this.scanQuery); | ||
} | ||
any(func, values) { | ||
@@ -216,0 +222,0 @@ let returnCon; |
{ | ||
"name": "@xapp/dynamo-service", | ||
"version": "0.0.55", | ||
"version": "0.0.56", | ||
"description": "A dynamo help class which will help maintain data integrity.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
139402
3743