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

Method Cursor

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

Cursor returns a database cursor, cursor is especially useful when handling big amount of rows of data

(clauses ...Clause)

Source from the content-addressed store, hash-verified

123 Exec(query string, params ...interface{}) errors.Error
124 // Cursor returns a database cursor, cursor is especially useful when handling big amount of rows of data
125 Cursor(clauses ...Clause) (Rows, errors.Error)
126 // Fetch loads row data from `cursor` into `dst`
127 Fetch(cursor Rows, dst interface{}) errors.Error
128 // All loads matched rows from database to `dst`, USE IT WITH CAUTIOUS!!

Callers 15

UpMethod · 0.65
UpMethod · 0.65
ExecuteMethod · 0.65
TransformColumnsFunction · 0.65
CopyTableColumnsFunction · 0.65
CreateSnapshotMethod · 0.65
GetLatestTasksOfPipelineFunction · 0.65
CollectStoryBugsFunction · 0.65
CollectBugCommitsFunction · 0.65
ConvertTaskChangelogFunction · 0.65
CollectTaskCommitsFunction · 0.65
ConvertStoryChangelogFunction · 0.65

Implementers 1

Dalgormbackend/impls/dalgorm/dalgorm.go

Calls

no outgoing calls

Tested by

no test coverage detected