MCPcopy
hub / github.com/dbcli/pgcli / reset_completions

Method reset_completions

pgcli/pgcompleter.py:310–315  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

308 self.search_path = self.escaped_names(search_path)
309
310 def reset_completions(self):
311 self.databases = []
312 self.special_commands = []
313 self.search_path = []
314 self.dbmetadata = {"tables": {}, "views": {}, "functions": {}, "datatypes": {}}
315 self.all_completions = set(self.keywords + self.functions)
316
317 def find_matches(self, text, collection, mode="fuzzy", meta=None):
318 """Find completion matches for the given text.

Callers 1

execute_commandMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected