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

Function quote

db/sql/sql.go:298–300  ·  view source on GitHub ↗
(str string)

Source from the content-addressed store, hash-verified

296}
297
298func quote(str string) string {
299 return fmt.Sprintf("`%s`", str)
300}
301
302func foreignKeyName(fromTable, fromProperty, toTable, toProperty string) string {
303 name := fmt.Sprintf("%s_%s_%s_%s", fromTable, fromProperty, toTable, toProperty)

Callers 15

genTableColsMethod · 0.70
GenTableDefMethod · 0.70
DropTableMethod · 0.70
CreateContextMethod · 0.70
updateQueryMethod · 0.70
StateUpdateContextMethod · 0.70
DeleteContextMethod · 0.70
makeColumnFunction · 0.70
MakeColumnsFunction · 0.70
makeStateColumnsFunction · 0.70
makeJoinFunction · 0.70
buildSelectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected