Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

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

Protected Optional secondaryIndex

secondaryIndex: SecondaryIndex<T>

tableName

tableName: string

Static INFINITE_LIMIT

INFINITE_LIMIT: number = -1

Methods

consistentRead

  • consistentRead(consistentRead?: boolean): this

Protected Abstract doRequest

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

exclusiveStartKey

  • exclusiveStartKey(key: DynamoDB.Key | null): this

exec

  • exec(): Promise<T2[]>

execCount

  • execCount(): Promise<number>

execFetchAll

  • execFetchAll(): Promise<T2[]>

execFullResponse

  • execFullResponse(): Promise<Z>

execNoMap

  • execNoMap(): Promise<O>

execSingle

  • execSingle(): Promise<T2 | null>

index

  • index(indexName: string): this

limit

  • limit(limit: number): this

Protected mapFromDb

  • mapFromDb(output: O): Z

projectionExpression

  • projectionExpression(attributesToGet: Array<keyof T | string>): R2

returnConsumedCapacity

  • returnConsumedCapacity(level: DynamoDB.ReturnConsumedCapacity): ReadManyRequest<T, T2, I, O, Z, R, R2>

where

  • where(conditionDefFns: ConditionExpressionDefinitionFunction[]): this

whereAttribute