Skip to content

Transactions examples needed #1407

@angerangel

Description

@angerangel

Please add some examples with transactions.
I get command out of sync error

the only way for me is to avoid transactions and prepare the statement list, one per line in a variable and then:

mySQLstatements.each_line  do |line|
  client.query(line)
end

but I risk that someone else execute a query between statements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions