(self)
| 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. |