delete

abstract suspend fun delete(key: String, partitionId: String? = null): Boolean

Deletes data.

  • key the key used to identify the data.

  • partitionId secondary key. If partitioning is supported in StorageTableSpec this must be non-null. If partitioning is not supported it must be null.

Returns true if the record was found and successfully deleted. Returns false if the record was not found (including the case when it is expired).