MCPcopy
hub / github.com/dosco/graphjin / anyDatabaseReady

Method anyDatabaseReady

core/api.go:148–155  ·  view source on GitHub ↗

anyDatabaseReady returns true if at least one database has an initialized schema.

()

Source from the content-addressed store, hash-verified

146
147// anyDatabaseReady returns true if at least one database has an initialized schema.
148func (gj *graphjinEngine) anyDatabaseReady() bool {
149 for _, ctx := range gj.databases {
150 if ctx.schema != nil {
151 return true
152 }
153 }
154 return false
155}
156
157type GraphJin struct {
158 atomic.Value

Callers 6

newGraphJinMethod · 0.95
queryMethod · 0.95
explainQueryMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected