Skip to content

//tempest2/app.cash.tempest2/AsyncView/deleteKey

deleteKey

[jvm]\ open suspend fun deleteKey(key: K, deleteExpression: Expression? = null): I?

Deletes the item identified by key from its DynamoDB table using deleteExpression. Any options specified in the deleteExpression parameter will be overlaid on any constraints due to versioned attributes.

If the item to be deleted has versioned attributes, load the item and use delete instead. For more information, see VersionedRecordExtension.