Class IntegrityConstraintViolation

Synopsis

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

class IntegrityConstraintViolation : public SqlError

Description

No description yet.

Inheritance

Ancestors: SqlError

Decsendents: UniqueViolation, RestrictViolation, NotNullViolation, ForeignKeyViolation, CheckViolation

Methods

IntegrityConstraintViolation

Source

Lines 295-304 in orm_lib/inc/drogon/orm/Exception.h.

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





Add Discussion as Guest

Log in to DocsForge