Files
OMS/app/base/lib/interface/db.php
2025-12-28 23:13:25 +08:00

39 lines
765 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Copyright © ShopeX http://www.shopex.cn. All rights reserved.
* See LICENSE file for license details.
*/
interface base_interface_db
{
public function exec($sql, $skipModifiedMark=false, $db_lnk=null);
public function select($sql, $skipModifiedMark=false);
public function selectrow($sql);
public function selectlimit($sql, $limit=10, $offset=0);
public function getRows($rs, $row=10);
public function count($sql);
public function quote($string);
public function lastinsertid();
public function affect_row();
public function errorinfo();
public function errorcode();
public function beginTransaction();
public function commit($status=true);
public function rollBack();
}