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 int64 `gorm:"primary_key;type:INTEGER not null"` Name string `gorm:"type:VARCHAR2(630)"` Created int64 `gorm:"type:INTEGER"` Deleted int64 `gorm:"type:INTEGER"` CreateRevision int64 `gorm:"type:INTEGER"` PrevRevision int64 `gorm:"type:INTEGER"` Lease int64 `gorm:"type:INTEGER"` 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.