Attributes
- Companion:
- object
- Graph
- Supertypes
- Known subtypes
- Self type
Members list
Value members
Concrete methods
Filter a Scan or a Query
Filter a Scan or a Query
Attributes
Parallel executes a DynamoDB Scan in parallel. There are no guarantees on order of returned items.
Parallel executes a DynamoDB Scan in parallel. There are no guarantees on order of returned items.
Attributes
- n
The number of parallel requests to make to DynamoDB
Adds a KeyConditionExpression to a DynamoDBQuery. Example:
Adds a KeyConditionExpression to a DynamoDBQuery. Example:
val newQuery = query.whereKey(partitionKey("email") === "avi@gmail.com" && sortKey("subject") === "maths")
Attributes
Adds a KeyConditionExpression from a ConditionExpression to a DynamoDBQuery
Must be in the form of <Condition1> && <Condition2> where format of <Condition1> is:
Adds a KeyConditionExpression from a ConditionExpression to a DynamoDBQuery
Must be in the form of <Condition1> && <Condition2> where format of <Condition1> is:
<ProjectionExpressionForPartitionKey> === <value>
and the format of <Condition2> is:
<ProjectionExpressionForSortKey> <op> <value>
where op can be one of ===, >, >=, <, <=, between, beginsWith
Example using type safe API:
// email and subject are partition and sort keys respectively
val (email, subject, enrollmentDate, payment) = ProjectionExpression.accessors[Student]
// ...
val newQuery = query.whereKey(email === "avi@gmail.com" && subject === "maths")
Example using type safe API:
// email and subject are partition and sort keys respectively
val (email, subject, enrollmentDate, payment) = ProjectionExpression.accessors[Student]
// ...
val newQuery = query.whereKey(email === "avi@gmail.com" && subject === "maths")