本文整理汇总了PHP中DbUtils::deleteQuery方法的典型用法代码示例。如果您正苦于以下问题:PHP DbUtils::deleteQuery方法的具体用法?PHP DbUtils::deleteQuery怎么用?PHP DbUtils::deleteQuery使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类DbUtils
的用法示例。
在下文中一共展示了DbUtils::deleteQuery方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
function deleteStaple_len($id)
{
$sql = 'DELETE FROM staple_length WHERE sta_len_id=' . $id;
return parent::deleteQuery($sql);
}
示例2: deleteStockEngineerItem
function deleteStockEngineerItem($id)
{
$sql = 'DELETE FROM stock_item WHERE stock_item_id=' . $id;
return parent::deleteQuery($sql);
}
示例3: deleteLc
function deleteLc($id)
{
$sql = 'DELETE FROM lc WHERE lc_id=' . $id;
return parent::deleteQuery($sql);
}
示例4: deleteRequisitionById
function deleteRequisitionById($id)
{
/*------------------------------------------
| this is a cascading delete by mysql
|-------------------------------------------*/
$sql = ' DELETE rm.*,rd.* FROM requisitions_master rm
INNER JOIN requisition_details rd ON
rm.rm_id=rd.requisition_master_id
WHERE rm.rm_id=' . $id;
return parent::deleteQuery($sql);
}
示例5: deleteCount
function deleteCount($id)
{
$sql = 'DELETE FROM count WHERE count_id=' . $id;
return parent::deleteQuery($sql);
}
示例6: deleteLot
function deleteLot($id)
{
$sql = 'DELETE FROM lot WHERE lot_id=' . $id;
return parent::deleteQuery($sql);
}