``` database.use { transaction { ...
# anko
m
Copy code
database.use {
            transaction {
                newEmployees.forEach {
                    insert(EmployeeTable.TBL_NAME,
                            EmployeeTable.ID to it.id,
                            EmployeeTable.FULL_NAME to it.fullName,
                            EmployeeTable.AVATAR_URL to it.avatarUrl,
                            EmployeeTable.CARD_ID to it.cardId,
                            EmployeeTable.CARD_SERIAL to it.cardSerial)
                }
            }
        }