upsert

fun upsert(key: String, value: T, expiresAt: Instant? = null)(source)

Convenience function to insert a new row or update an existing row.

Parameters

expiresAt

if set, will be used to expire the row when requesting data before it has expired.

See also