MCPcopy
hub / github.com/apache/devlake / First

Method First

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

First loads the first matched row from database to `dst`, error will be returned if no records were found

(dst interface{}, clauses ...Clause)

Source from the content-addressed store, hash-verified

129 All(dst interface{}, clauses ...Clause) errors.Error
130 // First loads the first matched row from database to `dst`, error will be returned if no records were found
131 First(dst interface{}, clauses ...Clause) errors.Error
132 // Count matched rows from database
133 Count(clauses ...Clause) (int64, errors.Error)
134 // Pluck used to query single column

Callers 15

runPipelineTasksFunction · 0.65
RunTaskFunction · 0.65
GetDbBlueprintMethod · 0.65
GetRemoteScopesOutputMethod · 0.65
GetScopesFromRemoteMethod · 0.65
SearchRemoteScopesMethod · 0.65
NewCollectorStateManagerFunction · 0.65
UpdateMethod · 0.65
GetMethod · 0.65
ExecuteMethod · 0.65
loadPreviousStateFunction · 0.65

Implementers 1

Dalgormbackend/impls/dalgorm/dalgorm.go

Calls

no outgoing calls

Tested by 6

TestExistingConnectionFunction · 0.52
TestExistingConnectionFunction · 0.52
TestExistingConnectionFunction · 0.52
TestExistingConnectionFunction · 0.52
TestExistingConnectionFunction · 0.52
TestExistingConnectionFunction · 0.52