code: def query_struct(self, name):
          
          sql = 'select id, file_id, name from code_items '\
                'where name = ?'
          self.cursor.execute(sql, (name,))
          for i in self.cursor.fetchall():
              sql = 'select id, type, name from code_items ' \
                    'where parent_id = ?'
              self.cursor.execute(sql, (i[0],))
              members = self.cursor.fetchall()
              if members:
                  print(self.file_id_to_name(i[1]), i[2])
                  print(members)
docs: Query struct.