MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / get_table_sql

Method get_table_sql

web/pgadmin/tools/erd/utils.py:121–125  ·  view source on GitHub ↗
(self, data, with_drop=False)

Source from the content-addressed store, hash-verified

119 )
120
121 def get_table_sql(self, data, with_drop=False):
122 SQL, _ = self.table_view.sql(
123 conn_id=self.conn_id, did=self.did, sid=self.sid,
124 data=data, with_drop=with_drop)
125 return SQL
126
127 def get_all_tables(self, scid, tid):
128 if tid is None and scid is None:

Callers 1

sqlFunction · 0.95

Calls 1

sqlMethod · 0.45

Tested by

no test coverage detected