Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

  • T2

Hierarchy

Index

Constructors

constructor

Properties

dynamoDBWrapper

dynamoDBWrapper: DynamoDbWrapper

Protected logger

logger: Logger

metadata

metadata: Metadata<T>

modelClazz

modelClazz: ModelConstructor<T>

params

params: ScanInput

Protected Optional secondaryIndex

secondaryIndex: SecondaryIndex<T>

tableName

tableName: string

Static INFINITE_LIMIT

INFINITE_LIMIT: number = -1

Methods

consistentRead

  • consistentRead(consistentRead?: boolean): this

Protected doRequest

  • doRequest(params: ScanInput): Promise<ScanOutput>

exclusiveStartKey

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

exec

  • exec(): Promise<T2[]>

execCount

  • execCount(): Promise<number>

execFetchAll

  • execFetchAll(): Promise<T2[]>

execFullResponse

execNoMap

  • execNoMap(): Promise<O>

execSingle

  • execSingle(): Promise<T2 | null>

index

  • index(indexName: string): this

limit

  • limit(limit: number): this

Protected mapFromDb

  • mapFromDb(output: ScanOutput): Z

projectionExpression

  • projectionExpression(attributesToGet: Array<keyof T | string>): ScanRequest<T, Partial<T>>

returnConsumedCapacity

where

  • where(conditionDefFns: ConditionExpressionDefinitionFunction[]): this

whereAttribute