代碼中找出來的,先記下,之後試用。原始查詢轉字典

def get_dictresult(cursor): """ Column name is always lower case. :param cursor: :return: """ if cursor.description is None: return [] cols = [c[0].lower() for c in
相關文章
相關標籤/搜索