MCPcopy Index your code
hub / github.com/go-dev-frame/sponge / isIgnoreFields

Function isIgnoreFields

pkg/sql2code/parser/parser.go:397–406  ·  view source on GitHub ↗
(colName string, falseColumn ...string)

Source from the content-addressed store, hash-verified

395}
396
397func isIgnoreFields(colName string, falseColumn ...string) bool {
398 for _, v := range falseColumn {
399 if colName == v {
400 return false
401 }
402 }
403
404 _, ok := ignoreColumns[colName]
405 return ok
406}
407
408var newlineIdentifier = []struct{ old, new string }{
409 {"\r\n", "\n//"},

Callers 4

tmplExecuteWithFilter2Function · 0.85
getModelStructCodeFunction · 0.85
getUpdateFieldsCodeFunction · 0.85
tmplExecuteWithFilterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…