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

Function waveObjTableName

pkg/wstore/wstore_dbops.go:22–24  ·  view source on GitHub ↗
(w waveobj.WaveObj)

Source from the content-addressed store, hash-verified

20var ErrNotFound = fmt.Errorf("not found")
21
22func waveObjTableName(w waveobj.WaveObj) string {
23 return "db_" + w.GetOType()
24}
25
26func tableNameFromOType(otype string) string {
27 return "db_" + otype

Callers 2

DBUpdateFunction · 0.85
DBInsertFunction · 0.85

Calls 1

GetOTypeMethod · 0.65

Tested by

no test coverage detected