add

fun add(value: JsAny?, key: IDBValidKey = definedExternally): IDBRequest<IDBValidKey>(source)

The add() method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, creates a structured clone of the value, and stores the cloned value in the object store.

MDN Reference