(c *Completer, schemas map[string]bool)
| 257 | } |
| 258 | |
| 259 | func (m CompletionMap) insertViews(c *Completer, schemas map[string]bool) { |
| 260 | for schema := range schemas { |
| 261 | for _, view := range c.listViews(schema) { |
| 262 | m.Insert(base.Candidate{ |
| 263 | Type: base.CandidateTypeView, |
| 264 | Text: c.quotedIdentifierIfNeeded(view), |
| 265 | }) |
| 266 | } |
| 267 | } |
| 268 | } |
| 269 | |
| 270 | func (m CompletionMap) insertColumns(c *Completer, databases, tables map[string]bool) { |
| 271 | for database := range databases { |
no test coverage detected