Class Transaction

Synopsis

#include <orm_lib/inc/drogon/orm/DbClient.h>

class Transaction : public DbClient

Description

No description yet.

Mentioned in

Inheritance

Ancestors: DbClient

Methods

rollback
setCommitCallback

Source

Lines 220-227 in orm_lib/inc/drogon/orm/DbClient.h. Line 221 in orm_lib/inc/drogon/orm/DbClient.h.

class Transaction : public DbClient
{
  public:
    virtual void rollback() = 0;
    // virtual void commit() = 0;
    virtual void setCommitCallback(
        const std::function<void(bool)> &commitCallback) = 0;
};





Add Discussion as Guest

Log in to DocsForge