zio.dynamodb.DynamoDBQuery
See theDynamoDBQuery companion object
Attributes
- Companion
- object
- Graph
-
- Supertypes
- Known subtypes
-
- Self type
-
Members list
Value members
Concrete methods
def filter[B](filterExpression: ConditionExpression[B])(implicit ev: CanFilter[B, Out]): DynamoDBQuery[In, Out]
Filter a Scan or a Query
Filter a Scan or a Query
Attributes
def gsi(indexName: String, keySchema: KeySchema, projection: ProjectionType, readCapacityUnit: Long, writeCapacityUnit: Long): DynamoDBQuery[In, Out]
def gsi(indexName: String, keySchema: KeySchema, projection: ProjectionType): DynamoDBQuery[In, Out]
def lsi(indexName: String, keySchema: KeySchema, projection: ProjectionType): DynamoDBQuery[In, Out]
Executes a DynamoDB Scan in parallel. There are no guarantees on order of returned items.
Executes a DynamoDB Scan in parallel. There are no guarantees on order of returned items.
Value parameters
- n
-
The number of parallel requests to make to DynamoDB
Attributes
def where[B](conditionExpression: ConditionExpression[B])(implicit ev: CanWhere[B, Out]): DynamoDBQuery[In, Out]
Adds a KeyConditionExpr to a DynamoDBQuery. Example:
Adds a KeyConditionExpr to a DynamoDBQuery. Example:
// high level type safe API where "email" and "subject" keys are defined using ProjectionExpression.accessors[Student]
val newQuery = query.whereKey(email.partitionKey === "[email protected]" && subject.sortKey === "maths")
// low level API
val newQuery = query.whereKey($("email").partitionKey === "[email protected]" && $("subject").sortKey === "maths")
Attributes
final def zip[In1 <: In, B](that: DynamoDBQuery[In1, B])(implicit z: Zippable[Out, B]): DynamoDBQuery[In1, Out]
final def zipWith[In1 <: In, B, C](that: DynamoDBQuery[In1, B])(f: (Out, B) => C): DynamoDBQuery[In1, C]
In this article