MCPcopy Create free account
hub / github.com/daniel2005d/mapXplore / __init__

Method __init__

database/PostgreSQL.py:13–18  ·  view source on GitHub ↗
(self, dbname:str, connectionsettings:Connection)

Source from the content-addressed store, hash-verified

11class PostgreSQL(DataBase):
12
13 def __init__(self, dbname:str, connectionsettings:Connection):
14 super().__init__(dbname=dbname, connectionsettings=connectionsettings)
15 self._tables_schema = "information_schema.tables"
16 self._queries = {
17 "databases":"SELECT datname FROM pg_catalog.pg_database"
18 }
19
20 @property
21 def principal_database(self)->str:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected