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

Method RequestSQLProfile

worker/chainbusservice.go:193–198  ·  view source on GitHub ↗

RequestSQLProfile get specified database profile.

(dbID proto.DatabaseID)

Source from the content-addressed store, hash-verified

191
192// RequestSQLProfile get specified database profile.
193func (bs *BusService) RequestSQLProfile(dbID proto.DatabaseID) (p *types.SQLChainProfile, ok bool) {
194 bs.lock.RLock()
195 defer bs.lock.RUnlock()
196 p, ok = bs.sqlChainProfiles[dbID]
197 return
198}
199
200// RequestPermStat fetches permission state from bus service.
201func (bs *BusService) RequestPermStat(

Callers 4

TestNewBusServiceFunction · 0.95
updateBillingMethod · 0.80
createDatabaseMethod · 0.80
CreateMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestNewBusServiceFunction · 0.76