MCPcopy Index your code
hub / github.com/dbcli/pgcli / get_database_matches

Method get_database_matches

pgcli/pgcompleter.py:811–812  ·  view source on GitHub ↗
(self, _, word_before_cursor)

Source from the content-addressed store, hash-verified

809 return self.find_matches(word_before_cursor, aliases, meta="table alias")
810
811 def get_database_matches(self, _, word_before_cursor):
812 return self.find_matches(word_before_cursor, self.databases, meta="database")
813
814 def get_keyword_matches(self, suggestion, word_before_cursor):
815 keywords = self.keywords_tree.keys()

Callers

nothing calls this directly

Calls 1

find_matchesMethod · 0.95

Tested by

no test coverage detected