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

Method Create

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

Create insert record to database

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

Source from the content-addressed store, hash-verified

135 Pluck(column string, dest interface{}, clauses ...Clause) errors.Error
136 // Create insert record to database
137 Create(entity interface{}, clauses ...Clause) errors.Error
138 // CreateWithMap insert record to database, the record is organized as map
139 CreateWithMap(entity interface{}, record map[string]interface{}) errors.Error
140 // Update updates record

Callers 15

UpMethod · 0.65
ExecuteMethod · 0.65
NewCsvFileWriterFunction · 0.65
SaveDbBlueprintMethod · 0.65
PostMethod · 0.65
CreateMethod · 0.65
fetchAsyncMethod · 0.65
fetchAsyncMethod · 0.65
CreateMethod · 0.65
CreateMethod · 0.65
ImportCsvIntoRawTableMethod · 0.65
importCsvMethod · 0.65

Implementers 1

Dalgormbackend/impls/dalgorm/dalgorm.go

Calls

no outgoing calls

Tested by 1