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

Method isCodeSQLDatabase

core/cache_fragment.go:141–147  ·  view source on GitHub ↗
(dbName string)

Source from the content-addressed store, hash-verified

139}
140
141func (s *gstate) isCodeSQLDatabase(dbName string) bool {
142 if s.gj == nil || s.gj.conf == nil {
143 return false
144 }
145 dbConf, ok := s.gj.conf.Databases[dbName]
146 return ok && dbConf.ManagedType == "codesql"
147}
148
149func codeSQLSelectedTableRefs(dbName string, qc *qcode.QCode) []RowRef {
150 if qc == nil {

Callers 2

scopeDBRefsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected