Skip to content

Example use of transactions in async method #1530

@bsiewert-aya

Description

@bsiewert-aya

Hello,

I'm new to MySqlConnector and had a question about the use of transactions.

I'm studying the example console application in the documentation found here:
https://mysqlconnector.net/tutorials/best-practices/

With this example below, can you provide a proper usage with transactions if I were to use the same task in the example console app but use a transaction to upsert records in each task?

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions