(schema, table, name, typ string, notNull bool, comment string)
| 320 | } |
| 321 | |
| 322 | func (c *Completer) columnCandidate(schema, table, name, typ string, notNull bool, comment string) base.Candidate { |
| 323 | definition := fmt.Sprintf("%s.%s | %s", schema, table, typ) |
| 324 | if notNull { |
| 325 | definition += ", NOT NULL" |
| 326 | } |
| 327 | return base.Candidate{ |
| 328 | Type: base.CandidateTypeColumn, |
| 329 | Text: c.quotedIdentifierIfNeeded(name), |
| 330 | Definition: definition, |
| 331 | Comment: comment, |
| 332 | } |
| 333 | } |
| 334 | |
| 335 | func (c *Completer) convertCandidates(candidates *oracleparser.CandidateSet) []base.Candidate { |
| 336 | keywordEntries := make(CompletionMap) |
no test coverage detected