Skip to main content
Version: 2.x

Low Level API

Low Level API operations are found on the DynamoDBQuery companion object. All the function names contain the word Item to indicate that they are operations on AWS DDB items in a table.

object DynamoDBQuery {

// CRUD operations

def putItem(tableName: String, item: Item): DynamoDBQuery[Any, Option[Item]] = ???

def getItem(
tableName: String,
key: PrimaryKey,
projections: ProjectionExpression[_, _]*
): DynamoDBQuery[Any, Option[Item]] = ???

def updateItem[A](tableName: String, key: PrimaryKey)(action: Action[A]): DynamoDBQuery[A, Option[Item]] = ???

def deleteItem(tableName: String, key: PrimaryKey): Write[Any, Option[Item]] = ???

// Scan/Query operations

def scanSomeItem(tableName: String, limit: Int, projections: ProjectionExpression[_, _]*): ScanSome = ???

def scanAllItem(tableName: String, projections: ProjectionExpression[_, _]*): ScanAll = ???

def queryAllItem(tableName: String, projections: ProjectionExpression[_, _]*): QueryAll = ???

def querySomeItem(tableName: String, limit: Int, projections: ProjectionExpression[_, _]*): QuerySome = ???

}

ZIO Chat

๐Ÿ”ฅ Ignite your ZIO journey with ZIO Chat! ๐Ÿ”ฅ Ready to unravel the intricacies of ZIO? As your trusty sidekick, I'm here to light the way. No matter if you're wandering through functional forests or traversing effectful landscapes, I've got answers to keep you on track. Your ZIO adventure starts here โ€“ ask me anything and let's explore together!