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: QueryInput

Protected Optional secondaryIndex

secondaryIndex: SecondaryIndex<T>

tableName

tableName: string

Static INFINITE_LIMIT

INFINITE_LIMIT: number = -1

Methods

ascending

  • ascending(): this

consistentRead

  • consistentRead(consistentRead?: boolean): this

descending

  • descending(): this

Protected doRequest

  • doRequest(params: QueryInput): Promise<QueryOutput>

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: QueryOutput): Z

projectionExpression

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

returnConsumedCapacity

where

  • where(conditionDefFns: ConditionExpressionDefinitionFunction[]): this

whereAttribute

wherePartitionKey

  • wherePartitionKey(partitionKeyValue: any): this

whereSortKey