MCPcopy Create free account
hub / github.com/dbcli/mssql-cli / make_cand

Method make_cand

mssqlcli/mssqlcompleter.py:493–495  ·  view source on GitHub ↗
(name, ref)

Source from the content-addressed store, hash-verified

491 tables, suggestion.local_tables)
492
493 def make_cand(name, ref):
494 synonyms = (name, generate_alias(self.case(name)))
495 return Candidate(qualify(name, ref), 0, 'column', synonyms)
496
497 def flat_cols():
498 return [make_cand(c.name, t.ref)

Callers

nothing calls this directly

Calls 3

caseMethod · 0.95
generate_aliasFunction · 0.85
CandidateFunction · 0.85

Tested by

no test coverage detected