Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorIs ¶
func ErrorIs(err error, code OraErrorCode) bool
func ExtractErrorCode ¶
Types ¶
type Kine ¶
type Kine struct { ID uint `gorm:"primary_key;type:NUMBER(10) not null"` Name string `gorm:"type:VARCHAR2(630)"` Created uint `gorm:"type:NUMBER(10)"` Deleted uint `gorm:"type:NUMBER(10)"` CreateRevision uint `gorm:"type:NUMBER(10)"` PrevRevision uint `gorm:"type:NUMBER(10)"` Lease uint `gorm:"type:NUMBER(10)"` Value []byte `gorm:"type:BLOB;create:false"` OldValue []byte `gorm:"type:BLOB;create:false"` }
type OraErrorCode ¶
type OraErrorCode string
const ( UniqueViolation OraErrorCode = "ORA-00001" NameAlreadyInUse OraErrorCode = "ORA-00955" TableOrViewDoesNotExist OraErrorCode = "ORA-00942" )
Click to show internal directories.
Click to hide internal directories.