UNPKG

@env0/dynamo-easy

Version:

DynamoDB client for NodeJS and browser with a fluent api to build requests. We take care of the type mapping between JS and DynamoDB, customizable trough typescript decorators.

12 lines 378 B
import { mergeConditions } from './merge-conditions.function'; /** * function to combine multiple conditions with 'and' * @example * ```typescript * and(attribute('propA').eq('foo'), attribute('propB').eq('bar')) * ``` */ export function and(...conditionDefinitionFns) { return mergeConditions('AND', conditionDefinitionFns); } //# sourceMappingURL=and.function.js.map