toTtlAt
Converts a value to a PreparedValue with a specific expiration timestamp.
Return
a PreparedValue with the specified TTL
val tempValue = "myValue".toTtlAt(System.currentTimeMillis() + 3600000) // expires in 1 hour
assert(!tempValue.isForever) // falseContent copied to clipboard
Parameters
ttlAt
the expiration timestamp in milliseconds since epoch
Type Parameters
V
the type of the value