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

Method __init__

web/pgadmin/tools/sqleditor/command.py:805–824  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

803 object_type = 'query_tool'
804
805 def __init__(self, **kwargs):
806 # call base class init to fetch the table name
807
808 BaseCommand.__init__(self, **kwargs)
809 FetchedRowTracker.__init__(self, **kwargs)
810
811 self.conn_id = kwargs['conn_id'] if 'conn_id' in kwargs else None
812 self.conn_id_ac = kwargs['conn_id_ac'] if 'conn_id_ac' in kwargs\
813 else None
814 self.auto_rollback = False
815 self.auto_commit = True
816
817 # Attributes needed to be able to edit updatable resultsets
818 self.is_updatable_resultset = False
819 self.primary_keys = None
820 self.pk_names = None
821 self.table_has_oids = False
822 self.columns_types = None
823 self.thread_native_id = None
824 self.server_cursor = False
825
826 def get_sql(self, default_conn=None):
827 return None

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected