MCPcopy
hub / github.com/wavetermdev/waveterm / tableNameFromOType

Function tableNameFromOType

pkg/wstore/wstore_dbops.go:26–28  ·  view source on GitHub ↗
(otype string)

Source from the content-addressed store, hash-verified

24}
25
26func tableNameFromOType(otype string) string {
27 return "db_" + otype
28}
29
30func tableNameGen[T waveobj.WaveObj]() string {
31 var zeroObj T

Callers 9

tableNameGenFunction · 0.85
DBGetSingletonByTypeFunction · 0.85
DBExistsORefFunction · 0.85
DBGetORefFunction · 0.85
dbSelectOIDsFunction · 0.85
DBGetAllOIDsByTypeFunction · 0.85
DBGetAllObjsByTypeFunction · 0.85
DBResolveEasyOIDFunction · 0.85
DBDeleteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected