Skip to content

Add SQL Transaction #35

Open
Open
@AkmalFairuz

Description

@AkmalFairuz

Is your feature request related to a problem? Please describe.
I tried to make Payment System like EconomyAPI (/pay).
A: doing pay to B
B: receive pay from A
It need 2 query (
Reduce money A
Add money B )
, but when 1 query executed the server crash, A money reduced and B money not added.

I need startTransaction function and callback if query failed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions