Toggle navigation
Toggle navigation
This project
Loading...
Sign in
web
/
hood
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
ziy
2015-04-29 10:13:35 +0800
Commit
62ce847eb7bbba82479c7c35eaa87e9f9ca8d0a8
1 parent
5d6e4898
新加数据库执行状态
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
Hood/Dao/Db/MySQL/Result.php
Hood/Dao/Db/MySQL/Result.php
View file @
62ce847
...
...
@@ -65,6 +65,15 @@ class Result
}
/**
* 状态
* @return bool
*/
public
function
status
()
{
return
$this
->
_PDOStatement
->
errorCode
()
===
'00000'
;
}
/**
* 获取statement Error Code
* @return string
*/
...
...
Please
register
or
login
to post a comment