Class ForeignKeyViolation

Synopsis

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

class ForeignKeyViolation : public IntegrityConstraintViolation

Description

No description yet.

Inheritance

Ancestors: IntegrityConstraintViolation

Methods

ForeignKeyViolation

Source

Lines 328-337 in orm_lib/inc/drogon/orm/Exception.h. Line 329 in orm_lib/inc/drogon/orm/Exception.h.

class ForeignKeyViolation : public IntegrityConstraintViolation
{
  public:
    explicit ForeignKeyViolation(const std::string &err,
                                 const std::string &Q = "",
                                 const char sqlstate[] = nullptr)
        : IntegrityConstraintViolation(err, Q, sqlstate)
    {
    }
};





Add Discussion as Guest

Log in to DocsForge