insert

fun insert(key: String, value: T, ignoreIfExists: Boolean = false, expiresAt: ERROR CLASS: Symbol not found for Instant?? = null): ERROR CLASS: Unresolved name: transaction(source)

Insert a row.

Parameters

ignoreIfExists

if true, will not insert if a row with the same key already exists. Otherwise, throw primary key constraint violation. Useful for "upserting".

See also