def get_node_list(self, gid, sid, did, scid, tid, cid=None):
    '\n        This function returns all check constraints\n        nodes within that collection as a list.\n\n        Args:\n          gid: Server Group ID\n          sid: Server ID\n          did: Database ID\n          scid: Schema ID\n          tid: Table ID\n          cid: Cehck constraint ID\n\n        Returns:\n\n        '
    driver = get_driver(PG_DEFAULT_DRIVER)
    self.manager = driver.connection_manager(sid)
    self.conn = self.manager.connection(did=did)
    self.qtIdent = driver.qtIdent
    self.template_path = 'check_constraint/sql/#{0}#'.format(self.manager.version)
    SQL = render_template('/'.join([self.template_path, 'get_parent.sql']), tid=tid)
    (status, rset) = self.conn.execute_2darray(SQL)
    if (not status):
        return internal_server_error(errormsg=rset)
    self.schema = rset['rows'][0]['schema']
    self.table = rset['rows'][0]['table']
    SQL = render_template('/'.join([self.template_path, 'properties.sql']), tid=tid)
    (status, res) = self.conn.execute_dict(SQL)
    return res['rows']
This function returns all check constraints
nodes within that collection as a list.

Args:
  gid: Server Group ID
  sid: Server ID
  did: Database ID
  scid: Schema ID
  tid: Table ID
  cid: Cehck constraint ID

Returns:
def get_node_list(self, gid, sid, did, scid, tid, cid=None):
    '\n        This function returns all check constraints\n        nodes within that collection as a list.\n\n        Args:\n          gid: Server Group ID\n          sid: Server ID\n          did: Database ID\n          scid: Schema ID\n          tid: Table ID\n          cid: Cehck constraint ID\n\n        Returns:\n\n        '
    driver = get_driver(PG_DEFAULT_DRIVER)
    self.manager = driver.connection_manager(sid)
    self.conn = self.manager.connection(did=did)
    self.qtIdent = driver.qtIdent
    self.template_path = 'check_constraint/sql/#{0}#'.format(self.manager.version)
    SQL = render_template('/'.join([self.template_path, 'get_parent.sql']), tid=tid)
    (status, rset) = self.conn.execute_2darray(SQL)
    if (not status):
        return internal_server_error(errormsg=rset)
    self.schema = rset['rows'][0]['schema']
    self.table = rset['rows'][0]['table']
    SQL = render_template('/'.join([self.template_path, 'properties.sql']), tid=tid)
    (status, res) = self.conn.execute_dict(SQL)
    return res['rows']