{"action":"created","issue":{"url":"https://api.github.com/repos/jonnywang/phpssdb/issues/6","labels_url":"https://api.github.com/repos/jonnywang/phpssdb/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/jonnywang/phpssdb/issues/6/comments","events_url":"https://api.github.com/repos/jonnywang/phpssdb/issues/6/events","html_url":"https://github.com/jonnywang/phpssdb/issues/6","id":97301683,"number":6,"title":"请问如何判断读写操作失败？","user":{"login":"vlike","id":221054,"avatar_url":"https://avatars.githubusercontent.com/u/221054?v=3","gravatar_id":"","url":"https://api.github.com/users/vlike","html_url":"https://github.com/vlike","followers_url":"https://api.github.com/users/vlike/followers","following_url":"https://api.github.com/users/vlike/following{/other_user}","gists_url":"https://api.github.com/users/vlike/gists{/gist_id}","starred_url":"https://api.github.com/users/vlike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlike/subscriptions","organizations_url":"https://api.github.com/users/vlike/orgs","repos_url":"https://api.github.com/users/vlike/repos","events_url":"https://api.github.com/users/vlike/events{/privacy}","received_events_url":"https://api.github.com/users/vlike/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-26T09:15:51Z","updated_at":"2015-07-26T14:15:50Z","closed_at":null,"body":"好像取得空数据时，失败时，还有写入成功时，都反回NULL，这样比较难判断成功失败，\r\n建议增加失败时的返回值"},"comment":{"url":"https://api.github.com/repos/jonnywang/phpssdb/issues/comments/124995650","html_url":"https://github.com/jonnywang/phpssdb/issues/6#issuecomment-124995650","issue_url":"https://api.github.com/repos/jonnywang/phpssdb/issues/6","id":124995650,"user":{"login":"vlike","id":221054,"avatar_url":"https://avatars.githubusercontent.com/u/221054?v=3","gravatar_id":"","url":"https://api.github.com/users/vlike","html_url":"https://github.com/vlike","followers_url":"https://api.github.com/users/vlike/followers","following_url":"https://api.github.com/users/vlike/following{/other_user}","gists_url":"https://api.github.com/users/vlike/gists{/gist_id}","starred_url":"https://api.github.com/users/vlike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlike/subscriptions","organizations_url":"https://api.github.com/users/vlike/orgs","repos_url":"https://api.github.com/users/vlike/repos","events_url":"https://api.github.com/users/vlike/events{/privacy}","received_events_url":"https://api.github.com/users/vlike/received_events","type":"User","site_admin":false},"created_at":"2015-07-26T14:15:50Z","updated_at":"2015-07-26T14:15:50Z","body":"认真检查了一下，是我的代码有问题，Sorry。写入的返回没有问题。\r\n\r\n那读取时呢？建议把失败时的返回值设成其它"}}