method ITransaction.commit ITransaction.commit(): Promise<void> Commits the transaction. Return Type Promise<void>