commit

fun commit()(source)

The commit() method of the IDBTransaction interface commits the transaction if it is called on an active transaction.

MDN Reference