本文整理匯總了Python中Src.Function.Base.Base.delete方法的典型用法代碼示例。如果您正苦於以下問題:Python Base.delete方法的具體用法?Python Base.delete怎麽用?Python Base.delete使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Src.Function.Base.Base
的用法示例。
在下文中一共展示了Base.delete方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: delete_ShortUrl
# 需要導入模塊: from Src.Function.Base import Base [as 別名]
# 或者: from Src.Function.Base.Base import delete [as 別名]
def delete_ShortUrl(self, where):
"""
刪除表數據
:param where: 條件
:return: 影響行數
"""
return Base.delete(self, self.table, where)
示例2: delete_apiPassRateWph
# 需要導入模塊: from Src.Function.Base import Base [as 別名]
# 或者: from Src.Function.Base.Base import delete [as 別名]
def delete_apiPassRateWph(self, where):
"""
刪除表數據
:param where: 條件
:return: 影響行數
"""
return Base.delete(self, self.table, where)
示例3: delete_apiPerformance
# 需要導入模塊: from Src.Function.Base import Base [as 別名]
# 或者: from Src.Function.Base.Base import delete [as 別名]
def delete_apiPerformance(self, where):
"""
刪除表數據
:param where: 條件
:return: 影響行數
"""
return Base.delete(self, self.table, where)
示例4: delete_testResult
# 需要導入模塊: from Src.Function.Base import Base [as 別名]
# 或者: from Src.Function.Base.Base import delete [as 別名]
def delete_testResult(self, init=False):
"""
刪除表數據
:param where: 條件
:return: 影響行數
"""
if 'xx' in url_target:
where = "url_target like 'xxt%'"
else:
where = "url_target like 'w%'"
return Base.delete(self, self.table, where, init)