MCPcopy Create free account
hub / github.com/cloudwan/gohan / makeColumn

Function makeColumn

db/sql/sql.go:756–758  ·  view source on GitHub ↗
(tableName string, property schema.Property)

Source from the content-addressed store, hash-verified

754}
755
756func makeColumn(tableName string, property schema.Property) string {
757 return fmt.Sprintf("%s.%s", tableName, quote(property.ID))
758}
759
760func makeAliasTableName(tableName string, property schema.Property) string {
761 return fmt.Sprintf("%s__%s", tableName, property.RelationProperty)

Callers 4

MakeColumnsFunction · 0.85
buildSelectFunction · 0.85
AddFilterToQueryFunction · 0.85
addToFilterFunction · 0.85

Calls 1

quoteFunction · 0.70

Tested by

no test coverage detected