(c *Completer, schemas map[string]bool)
| 222 | } |
| 223 | |
| 224 | func (m CompletionMap) insertViews(c *Completer, schemas map[string]bool) { |
| 225 | for schema := range schemas { |
| 226 | for _, view := range c.listViews(schema) { |
| 227 | m.Insert(base.Candidate{ |
| 228 | Type: base.CandidateTypeView, |
| 229 | Text: c.quotedIdentifierIfNeeded(view), |
| 230 | }) |
| 231 | } |
| 232 | } |
| 233 | } |
| 234 | |
| 235 | func (m CompletionMap) insertSequences(c *Completer, schemas map[string]bool) { |
| 236 | for schema := range schemas { |
no test coverage detected