(self, suggestion, word_before_cursor, alias=False)
| 797 | return self.find_matches(word_before_cursor, formats, meta="table format") |
| 798 | |
| 799 | def get_view_matches(self, suggestion, word_before_cursor, alias=False): |
| 800 | views = self.populate_schema_objects(suggestion.schema, "views") |
| 801 | |
| 802 | if not suggestion.schema and (not word_before_cursor.startswith("pg_")): |
| 803 | views = [v for v in views if not v.name.startswith("pg_")] |
| 804 | views = [self._make_cand(v, alias, suggestion) for v in views] |
| 805 | return self.find_matches(word_before_cursor, views, meta="view") |
| 806 | |
| 807 | def get_alias_matches(self, suggestion, word_before_cursor): |
| 808 | aliases = suggestion.aliases |
no test coverage detected