update

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

Update a row. If the row does not exist, it will update nothing, use insert if you want to insert if the row does not exist.

We also provide upsert convenience function to insert or update.

Parameters

expiresAt

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

See also