(self, suggestion, word_before_cursor, alias=False)
| 789 | return Candidate(item, synonyms=synonyms, prio2=prio2, display=display) |
| 790 | |
| 791 | def get_table_matches(self, suggestion, word_before_cursor, alias=False): |
| 792 | tables = self.populate_schema_objects(suggestion.schema, 'tables') |
| 793 | tables.extend(SchemaObject(tbl.name) |
| 794 | for tbl in suggestion.local_tables) |
| 795 | tables = [self._make_cand(t, alias, suggestion) for t in tables] |
| 796 | return self.find_matches(word_before_cursor, tables, meta='table') |
| 797 | |
| 798 | def get_view_matches(self, suggestion, word_before_cursor, alias=False): |
| 799 | views = self.populate_schema_objects(suggestion.schema, 'views') |
no test coverage detected