MCPcopy Create free account
hub / github.com/apache/devlake / getCustomizedFields

Method getCustomizedFields

backend/plugins/customize/service/service.go:150–154  ·  view source on GitHub ↗

getCustomizedFields returns all the customized fields definitions of the table

(table string)

Source from the content-addressed store, hash-verified

148
149// getCustomizedFields returns all the customized fields definitions of the table
150func (s *Service) getCustomizedFields(table string) ([]customizeModels.CustomizedField, errors.Error) {
151 var result []customizeModels.CustomizedField
152 err := s.dal.All(&result, dal.Where("tb_name = ?", table))
153 return result, err
154}
155
156// ImportIssue import csv file to the table `issues`, and create relations to boards
157// issue could exist in multiple boards, so we should only delete an old records when it doesn't belong to another board

Callers 1

GetFieldsMethod · 0.95

Calls 1

AllMethod · 0.65

Tested by

no test coverage detected