MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / DatabaseID

Method DatabaseID

proto/nodeinfo.go:81–84  ·  view source on GitHub ↗

DatabaseID converts AccountAddress to DatabaseID.

()

Source from the content-addressed store, hash-verified

79
80// DatabaseID converts AccountAddress to DatabaseID.
81func (z *AccountAddress) DatabaseID() (d DatabaseID) {
82 d = DatabaseID(z.String())
83 return
84}
85
86// MarshalHash marshals for hash.
87func (z *AccountAddress) MarshalHash() (o []byte, err error) {

Callers 13

BenchmarkDBWriteFunction · 0.95
BenchmarkSignSignatureFunction · 0.95
TestComputeMetricsFunction · 0.95
updatePermissionMethod · 0.80
updateKeysMethod · 0.80
updateBillingMethod · 0.80
TestMetaStateFunction · 0.80
BenchmarkEncodeFunction · 0.80
updateBillingMethod · 0.80
TestDBMSFunction · 0.80

Calls 2

StringMethod · 0.95
DatabaseIDTypeAlias · 0.85

Tested by 8

BenchmarkDBWriteFunction · 0.76
BenchmarkSignSignatureFunction · 0.76
TestComputeMetricsFunction · 0.76
TestMetaStateFunction · 0.64
BenchmarkEncodeFunction · 0.64
TestDBMSFunction · 0.64
TestFullProcessFunction · 0.64