Options
All
  • Public
  • Public/Protected
  • All
Menu

@aws/dynamodb-expressions

Index

Type aliases

AttributeType

AttributeType: "S" | "SS" | "N" | "NS" | "B" | "BS" | "BOOL" | "NULL" | "L" | "M"

ComparisonOperand

ComparisonOperand: AttributePath | AttributeValue | FunctionExpression | any

ConditionExpression

ConditionExpressionPredicate

FunctionExpressionPredicate

MathematicalExpressionOperand

MathematicalExpressionOperand: AttributePath | string | number

PathElement

PathElement: AttributeName | ListIndex

ProjectionExpression

ProjectionExpression: Array<AttributePath | string>

An array of attributes to project. Each may be represented as either an AttributePath object or as a string.

SimpleConditionExpression

Functions

attributeExists

attributeNotExists

attributeType

beginsWith

between

contains

equals

greaterThan

greaterThanOrEqualTo

inList

isConditionExpression

  • isConditionExpression(arg: any): boolean
  • Evaluates whether the provided value is a condition expression.

    Parameters

    • arg: any

    Returns boolean

isConditionExpressionPredicate

  • isConditionExpressionPredicate(arg: any): boolean
  • Evaluate whether the provided value is a condition expression predicate.

    Parameters

    • arg: any

    Returns boolean

isConditionExpressionSubject

  • isConditionExpressionSubject(arg: any): boolean

lessThan

lessThanOrEqualTo

notEquals

serializeConditionExpression

  • Convert the provided condition expression object to a string, escaping any values and attributes to expression-safe placeholders whose expansion value will be managed by the provided ExpressionAttributes object.

    Parameters

    Returns string

serializeProjectionExpression