Constructors

  • Parameters

    • Optional tableSchemas: readonly TableSchema[]
    • Optional options: {
          dynamodbClient?: DynamoDBClient;
          getOptions?: Pick<KeysAndAttributes, "ConsistentRead" | "ProjectionExpression" | "ExpressionAttributeNames"> & Pick<BatchGetItemCommandInput, "ReturnConsumedCapacity">;
      }
      • Optional Readonly dynamodbClient?: DynamoDBClient
      • Optional Readonly getOptions?: Pick<KeysAndAttributes, "ConsistentRead" | "ProjectionExpression" | "ExpressionAttributeNames"> & Pick<BatchGetItemCommandInput, "ReturnConsumedCapacity">

    Returns DynamodbDataLoader

Properties

dynamodbClient: DynamoDBClient
dynamodbDocumentClient: DynamoDBDocumentClient
getter: DataLoader<GetRequest, unknown, string> = ...
options?: {
    dynamodbClient?: DynamoDBClient;
    getOptions?: Pick<KeysAndAttributes, "ConsistentRead" | "ProjectionExpression" | "ExpressionAttributeNames"> & Pick<BatchGetItemCommandInput, "ReturnConsumedCapacity">;
}

Type declaration

  • Optional Readonly dynamodbClient?: DynamoDBClient
  • Optional Readonly getOptions?: Pick<KeysAndAttributes, "ConsistentRead" | "ProjectionExpression" | "ExpressionAttributeNames"> & Pick<BatchGetItemCommandInput, "ReturnConsumedCapacity">
querier: DataLoader<QueryRequest, Record<string, unknown>[], string> = ...
scanner: DataLoader<ScanRequest, Record<string, unknown>[], string> = ...
tableSchemas?: readonly TableSchema[]