@shiftcoders/dynamo-easy
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Base
Request
Batch
Get
Single
Table
Request
Batch
Write
Single
Table
Request
Delete
Request
Get
Request
Put
Request
Query
Request
Read
Many
Request
constructor
dynamoDBWrapper
logger
metadata
model
Clazz
params
secondary
Index
table
Name
INFINITE_
LIMIT
consistent
Read
do
Request
exclusive
Start
Key
exec
exec
Count
exec
Fetch
All
exec
Full
Response
exec
NoMap
exec
Single
index
limit
map
From
Db
projection
Expression
return
Consumed
Capacity
where
where
Attribute
Scan
Request
Standard
Request
Transact
Get
Single
Table
Request
Update
Request
Write
Request
Batch
Get
Single
Table
Response
Delete
Response
Get
Response
Put
Response
Query
Response
Scan
Response
Update
Response
Transact
Get
Response
Write
Response
Type parameters
T
T2
I
:
QueryInput
|
ScanInput
O
:
QueryOutput
|
ScanOutput
Z
:
QueryResponse
<
T2
>
|
ScanResponse
<
T2
>
R
:
QueryRequest
<
T
,
T2
>
|
ScanRequest
<
T
,
T2
>
R2
:
QueryRequest
<
T
,
Partial
<
T
>
>
|
ScanRequest
<
T
,
Partial
<
T
>
>
Hierarchy
StandardRequest
<
T
,
T2
,
I
,
ReadManyRequest
<
T
,
T2
,
I
,
O
,
Z
,
R
,
R2
>
>
ReadManyRequest
ScanRequest
QueryRequest
Index
Constructors
constructor
Properties
dynamoDBWrapper
logger
metadata
model
Clazz
params
secondary
Index
table
Name
INFINITE_
LIMIT
Methods
consistent
Read
do
Request
exclusive
Start
Key
exec
exec
Count
exec
Fetch
All
exec
Full
Response
exec
NoMap
exec
Single
index
limit
map
From
Db
projection
Expression
return
Consumed
Capacity
where
where
Attribute
Constructors
Protected
constructor
new
Read
Many
Request
(
dynamoDBWrapper
:
DynamoDbWrapper
, modelClazz
:
ModelConstructor
<
T
>
)
:
ReadManyRequest
Parameters
dynamoDBWrapper:
DynamoDbWrapper
modelClazz:
ModelConstructor
<
T
>
Returns
ReadManyRequest
Properties
dynamoDBWrapper
dynamoDBWrapper
:
DynamoDbWrapper
Protected
Abstract
logger
logger
:
Logger
metadata
metadata
:
Metadata
<
T
>
model
Clazz
model
Clazz
:
ModelConstructor
<
T
>
params
params
:
I
Protected
Optional
secondary
Index
secondary
Index
:
SecondaryIndex
<
T
>
table
Name
table
Name
:
string
Static
INFINITE_
LIMIT
INFINITE_
LIMIT
:
number
= -1
Methods
consistent
Read
consistent
Read
(
consistentRead
?:
boolean
)
:
this
Parameters
Default value
consistentRead:
boolean
= true
Returns
this
Protected
Abstract
do
Request
do
Request
(
params
:
I
)
:
Promise
<
O
>
Parameters
params:
I
Returns
Promise
<
O
>
exclusive
Start
Key
exclusive
Start
Key
(
key
:
DynamoDB.Key
|
null
)
:
this
Parameters
key:
DynamoDB.Key
|
null
Returns
this
exec
exec
(
)
:
Promise
<
T2
[]
>
Returns
Promise
<
T2
[]
>
exec
Count
exec
Count
(
)
:
Promise
<
number
>
Returns
Promise
<
number
>
exec
Fetch
All
exec
Fetch
All
(
)
:
Promise
<
T2
[]
>
Returns
Promise
<
T2
[]
>
exec
Full
Response
exec
Full
Response
(
)
:
Promise
<
Z
>
Returns
Promise
<
Z
>
exec
NoMap
exec
NoMap
(
)
:
Promise
<
O
>
Returns
Promise
<
O
>
exec
Single
exec
Single
(
)
:
Promise
<
T2
|
null
>
Returns
Promise
<
T2
|
null
>
index
index
(
indexName
:
string
)
:
this
Parameters
indexName:
string
Returns
this
limit
limit
(
limit
:
number
)
:
this
Parameters
limit:
number
Returns
this
Protected
map
From
Db
map
From
Db
(
output
:
O
)
:
Z
Parameters
output:
O
Returns
Z
projection
Expression
projection
Expression
(
attributesToGet
:
Array
<
keyof T
|
string
>
)
:
R2
Parameters
Rest
attributesToGet:
Array
<
keyof T
|
string
>
Returns
R2
return
Consumed
Capacity
return
Consumed
Capacity
(
level
:
DynamoDB.ReturnConsumedCapacity
)
:
ReadManyRequest
<
T
,
T2
,
I
,
O
,
Z
,
R
,
R2
>
Parameters
level:
DynamoDB.ReturnConsumedCapacity
Returns
ReadManyRequest
<
T
,
T2
,
I
,
O
,
Z
,
R
,
R2
>
where
where
(
conditionDefFns
:
ConditionExpressionDefinitionFunction
[]
)
:
this
Parameters
Rest
conditionDefFns:
ConditionExpressionDefinitionFunction
[]
Returns
this
where
Attribute
where
Attribute<K>
(
attributePath
:
K
)
:
RequestConditionFunctionTyped
<
this
,
T
,
K
>
where
Attribute
(
attributePath
:
string
)
:
RequestConditionFunction
<
this
,
T
>
Type parameters
K
:
keyof T
Parameters
attributePath:
K
Returns
RequestConditionFunctionTyped
<
this
,
T
,
K
>
Parameters
attributePath:
string
Returns
RequestConditionFunction
<
this
,
T
>