mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 07:12:47 +08:00
修正Query类 改进Response类 改进异常输出
This commit is contained in:
@@ -112,6 +112,16 @@ class Query
|
||||
return $this->connection->execute($sql, $bind, $fetch, $getLastInsID);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取最近插入的ID
|
||||
* @access public
|
||||
* @return string
|
||||
*/
|
||||
public function getLastInsID()
|
||||
{
|
||||
return $this->connection->getLastInsID();
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取当前的builder实例对象
|
||||
* @access protected
|
||||
|
||||
Reference in New Issue
Block a user