Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

  • T2

  • I: DeleteItemInput | PutItemInput | UpdateItemInput

  • O: DeleteItemOutput | PutItemOutput | UpdateItemOutput

  • R: WriteRequest<T, T2, I, O, R>

Hierarchy

Index

Constructors

Protected constructor

Properties

dynamoDBWrapper

dynamoDBWrapper: DynamoDbWrapper

Protected Abstract logger

logger: Logger

metadata

metadata: Metadata<T>

modelClazz

modelClazz: ModelConstructor<T>

params

params: I

tableName

tableName: string

Methods

Protected Abstract doRequest

  • doRequest(params: I): Promise<O>

exec

  • exec(): Promise<T2>
  • Returns Promise<T2>

    if no ReturnValues are requested, { T } if the requested ReturnValues are ALL_OLD|ALL_NEW or {Partial} if the requested ReturnValues are UPDATED_OLD|UPDATED_NEW

execFullResponse

execNoMap

  • execNoMap(): Promise<O>

onlyIf

  • onlyIf(conditionDefFns: ConditionExpressionDefinitionFunction[]): this

onlyIfAttribute

returnConsumedCapacity

  • returnConsumedCapacity(level: DynamoDB.ReturnConsumedCapacity): R

returnItemCollectionMetrics

  • returnItemCollectionMetrics(returnItemCollectionMetrics: DynamoDB.ReturnItemCollectionMetrics): this