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

Method get_previous_token

pgcli/packages/sqlcompletion.py:103–104  ·  view source on GitHub ↗
(self, token)

Source from the content-addressed store, hash-verified

101 return tables
102
103 def get_previous_token(self, token):
104 return self.parsed.token_prev(self.parsed.token_index(token))[1]
105
106 def get_identifier_schema(self):
107 schema = (self.identifier and self.identifier.get_parent_name()) or None

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected