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

Mentioned in

setCommitCallback

Source

Lines 288-295 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