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

Method get_alias_matches

pgcli/pgcompleter.py:807–809  ·  view source on GitHub ↗
(self, suggestion, word_before_cursor)

Source from the content-addressed store, hash-verified

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
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")

Callers

nothing calls this directly

Calls 1

find_matchesMethod · 0.95

Tested by

no test coverage detected