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

Method All

backend/impls/dalgorm/dalgorm.go:207–210  ·  view source on GitHub ↗

All loads matched rows from database to `dst`, USE IT WITH COUTIOUS!!

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

Source from the content-addressed store, hash-verified

205
206// All loads matched rows from database to `dst`, USE IT WITH COUTIOUS!!
207func (d *Dalgorm) All(dst interface{}, clauses ...dal.Clause) errors.Error {
208 d.unwrapDynamic(&dst, &clauses)
209 return d.convertGormError(buildTx(d.db, clauses).Find(dst).Error)
210}
211
212// First loads first matched row from database to `dst`, error will be returned if no records were found
213func (d *Dalgorm) First(dst interface{}, clauses ...dal.Clause) errors.Error {

Callers

nothing calls this directly

Calls 4

unwrapDynamicMethod · 0.95
convertGormErrorMethod · 0.95
buildTxFunction · 0.85
FindMethod · 0.80

Tested by

no test coverage detected