#

fetchone

  • python操作數(shù)據(jù)庫之讀取數(shù)據(jù)庫數(shù)據(jù)方法

    自動(dòng)化測(cè)試經(jīng)常會(huì)往數(shù)據(jù)庫里寫數(shù)據(jù),然后從數(shù)據(jù)庫里讀取數(shù)據(jù)。 下面講下從數(shù)據(jù)庫里讀取數(shù)據(jù)的方法。 前提:已安裝mysql.connector模塊 已建立的數(shù)據(jù)庫為(在tes

    作者:niedongri
    2020-10-02 15:01:48