MCPcopy Index your code
hub / github.com/apache/devlake / IsDuplicationError

Method IsDuplicationError

backend/core/dal/dal.go:185–185  ·  view source on GitHub ↗

IsDuplicationError returns true if error is duplicate-error

(err error)

Source from the content-addressed store, hash-verified

183 IsErrorNotFound(err error) bool
184 // IsDuplicationError returns true if error is duplicate-error
185 IsDuplicationError(err error) bool
186 // RawCursor (Deprecated) executes raw sql query and returns a database cursor.
187 RawCursor(query string, params ...interface{}) (*sql.Rows, errors.Error)
188}

Callers 9

saveMethod · 0.65
CreateMethod · 0.65
UpdateMethod · 0.65
SaveScopeMethod · 0.65
CreateMethod · 0.65
UpdateMethod · 0.65
CreateMethod · 0.65
CreateProjectFunction · 0.65
createForPluginFunction · 0.65

Implementers 1

Dalgormbackend/impls/dalgorm/dalgorm.go

Calls

no outgoing calls

Tested by

no test coverage detected