René's URL Explorer Experiment


Title: pgsql-swoole driver can not prompt errors · Issue #9 · hyperf/database-pgsql · GitHub

Open Graph Title: pgsql-swoole driver can not prompt errors · Issue #9 · hyperf/database-pgsql

X Title: pgsql-swoole driver can not prompt errors · Issue #9 · hyperf/database-pgsql

Description: app/Controller/TestController.php #[RequestMapping(path: "create", methods: "get")] public function create(ResponseInterface $response) { $s = \App\Model\Session::create([ 'id' => '131', 'store_id' => 111, 'uuid' => 'abc', 'visitor_id' =...

Open Graph Description: app/Controller/TestController.php #[RequestMapping(path: "create", methods: "get")] public function create(ResponseInterface $response) { $s = \App\Model\Session::create([ 'id' => '131', 'store_id'...

X Description: app/Controller/TestController.php #[RequestMapping(path: "create", methods: "get")] public function create(ResponseInterface $response) { $s = \App\Model\Session::create([ '...

Opengraph URL: https://github.com/hyperf/database-pgsql/issues/9

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"pgsql-swoole driver can not prompt errors","articleBody":"## app/Controller/TestController.php\r\n```php\r\n    #[RequestMapping(path: \"create\", methods: \"get\")]\r\n    public function create(ResponseInterface $response)\r\n    {\r\n        $s = \\App\\Model\\Session::create([\r\n            'id' =\u003e '131',\r\n            'store_id' =\u003e 111,\r\n            'uuid' =\u003e 'abc',\r\n            'visitor_id' =\u003e '321',\r\n            'user_id' =\u003e '0',\r\n            'fingerprint' =\u003e '11111111111',\r\n            'client_ip' =\u003e '127.0.0.1',\r\n        ]);\r\n        var_dump($s);\r\n        return $response-\u003eraw('create session'); \r\n    }\r\n```\r\n## pgsql 日志\r\n```bash\r\n2023-04-23 13:43:37.125 CST,\"track\",\"track\",46662,\"172.17.0.3:36156\",6444c589.b646,7,\"PARSE\",2023-04-23 13:43:37 CST,3/48,0,LOG,00000,\"duration: 1.488 ms  parse swoole_stmt_2: insert into \"\"sessions\"\" (\"\"id\"\", \"\"store_id\"\", \"\"uuid\"\", \"\"visitor_id\"\", \"\"user_id\"\", \"\"fingerprint\"\", \"\"client_ip\"\", \"\"updated_at_gmt\"\", \"\"created_at_gmt\"\") values ($1, $2, $3, $4, $5, $6, $7, $8, $9)\",,,,,,,,,\"\",\"client backend\",,0\r\n2023-04-23 13:43:37.127 CST,\"track\",\"track\",46662,\"172.17.0.3:36156\",6444c589.b646,8,\"BIND\",2023-04-23 13:43:37 CST,3/49,0,LOG,00000,\"duration: 0.839 ms  bind swoole_stmt_2: insert into \"\"sessions\"\" (\"\"id\"\", \"\"store_id\"\", \"\"uuid\"\", \"\"visitor_id\"\", \"\"user_id\"\", \"\"fingerprint\"\", \"\"client_ip\"\", \"\"updated_at_gmt\"\", \"\"created_at_gmt\"\") values ($1, $2, $3, $4, $5, $6, $7, $8, $9)\",\"parameters: $1 = '131', $2 = '111', $3 = 'abc', $4 = '321', $5 = '0', $6 = '11111111111', $7 = '127.0.0.1', $8 = '2023-04-23 05:43:37', $9 = '2023-04-23 05:43:37'\",,,,,,,,\"\",\"client backend\",,0\r\n2023-04-23 13:43:37.127 CST,\"track\",\"track\",46662,\"172.17.0.3:36156\",6444c589.b646,9,\"INSERT\",2023-04-23 13:43:37 CST,3/49,0,LOG,00000,\"execute swoole_stmt_2: insert into \"\"sessions\"\" (\"\"id\"\", \"\"store_id\"\", \"\"uuid\"\", \"\"visitor_id\"\", \"\"user_id\"\", \"\"fingerprint\"\", \"\"client_ip\"\", \"\"updated_at_gmt\"\", \"\"created_at_gmt\"\") values ($1, $2, $3, $4, $5, $6, $7, $8, $9)\",\"parameters: $1 = '131', $2 = '111', $3 = 'abc', $4 = '321', $5 = '0', $6 = '11111111111', $7 = '127.0.0.1', $8 = '2023-04-23 05:43:37', $9 = '2023-04-23 05:43:37'\",,,,,,,,\"\",\"client backend\",,0\r\n2023-04-23 13:43:37.128 CST,\"track\",\"track\",46662,\"172.17.0.3:36156\",6444c589.b646,10,\"INSERT\",2023-04-23 13:43:37 CST,3/49,1052,ERROR,23505,\"duplicate key value violates unique constraint \"\"sessions_pkey\"\"\",\"Key (store_id, uuid)=(111, abc) already exists.\",,,,,\"insert into \"\"sessions\"\" (\"\"id\"\", \"\"store_id\"\", \"\"uuid\"\", \"\"visitor_id\"\", \"\"user_id\"\", \"\"fingerprint\"\", \"\"client_ip\"\", \"\"updated_at_gmt\"\", \"\"created_at_gmt\"\") values ($1, $2, $3, $4, $5, $6, $7, $8, $9)\",,,\"\",\"client backend\",,0\r\n```\r\n## 响应结果\r\n![image](https://user-images.githubusercontent.com/29323350/233822978-44b3c6e6-e714-4158-a7a6-e30adfd70722.png)\r\n\r\n\r\n## 问题\r\n当我的数据库驱动使用 `pgsql-swoole` 并使用 `model` 去创建新的数据时,无论写入的 SQL 在数据库里是否发生了错误。 model 总能返回一个正确的对象给我,但 pgsql 里却没有对应的数据。","author":{"url":"https://github.com/wuxi889","@type":"Person","name":"wuxi889"},"datePublished":"2023-04-23T06:09:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/9/database-pgsql/issues/9"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:3957bedb-b7ff-35bf-ad88-dc4289ab1242
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDBCC:112DEB:F7E0AF:15CBF0D:696FC198
html-safe-nonce3a8e43791d040c83da6481bc8e67a3fbecedc01b2b10bb610347fd6953f83adb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQkNDOjExMkRFQjpGN0UwQUY6MTVDQkYwRDo2OTZGQzE5OCIsInZpc2l0b3JfaWQiOiI4NDM4NjM1NTUzMTk5NDczMDQ4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacdd991366d0cbe5ff6e05b7385f6dba34b5572cc15adf05615b19b0c3b8c76302
hovercard-subject-tagissue:1679876653
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/hyperf/database-pgsql/9/issue_layout
twitter:imagehttps://opengraph.githubassets.com/384b7b6cd79950d75f669f810a55559a1ec48c16afc538b8a5fad52ea23fd3d0/hyperf/database-pgsql/issues/9
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/384b7b6cd79950d75f669f810a55559a1ec48c16afc538b8a5fad52ea23fd3d0/hyperf/database-pgsql/issues/9
og:image:altapp/Controller/TestController.php #[RequestMapping(path: "create", methods: "get")] public function create(ResponseInterface $response) { $s = \App\Model\Session::create([ 'id' => '131', 'store_id'...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewuxi889
hostnamegithub.com
expected-hostnamegithub.com
None330ca0f04ee8ecef1da04306a0dd49293f64679ee9a4bd5eaf2e1272bfdcf145
turbo-cache-controlno-preview
go-importgithub.com/hyperf/database-pgsql git https://github.com/hyperf/database-pgsql.git
octolytics-dimension-user_id44228082
octolytics-dimension-user_loginhyperf
octolytics-dimension-repository_id523003780
octolytics-dimension-repository_nwohyperf/database-pgsql
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id523003780
octolytics-dimension-repository_network_root_nwohyperf/database-pgsql
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release816ad575e27a390de2e2089ebe75261d12de9b37
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/hyperf/database-pgsql/issues/9#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fhyperf%2Fdatabase-pgsql%2Fissues%2F9
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fhyperf%2Fdatabase-pgsql%2Fissues%2F9
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=hyperf%2Fdatabase-pgsql
Reloadhttps://patch-diff.githubusercontent.com/hyperf/database-pgsql/issues/9
Reloadhttps://patch-diff.githubusercontent.com/hyperf/database-pgsql/issues/9
Reloadhttps://patch-diff.githubusercontent.com/hyperf/database-pgsql/issues/9
hyperf https://patch-diff.githubusercontent.com/hyperf
database-pgsqlhttps://patch-diff.githubusercontent.com/hyperf/database-pgsql
Please reload this pagehttps://patch-diff.githubusercontent.com/hyperf/database-pgsql/issues/9
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fhyperf%2Fdatabase-pgsql
Fork 3 https://patch-diff.githubusercontent.com/login?return_to=%2Fhyperf%2Fdatabase-pgsql
Star 11 https://patch-diff.githubusercontent.com/login?return_to=%2Fhyperf%2Fdatabase-pgsql
Code https://patch-diff.githubusercontent.com/hyperf/database-pgsql
Issues 6 https://patch-diff.githubusercontent.com/hyperf/database-pgsql/issues
Pull requests 0 https://patch-diff.githubusercontent.com/hyperf/database-pgsql/pulls
Actions https://patch-diff.githubusercontent.com/hyperf/database-pgsql/actions
Projects 0 https://patch-diff.githubusercontent.com/hyperf/database-pgsql/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/hyperf/database-pgsql/security
Please reload this pagehttps://patch-diff.githubusercontent.com/hyperf/database-pgsql/issues/9
Insights https://patch-diff.githubusercontent.com/hyperf/database-pgsql/pulse
Code https://patch-diff.githubusercontent.com/hyperf/database-pgsql
Issues https://patch-diff.githubusercontent.com/hyperf/database-pgsql/issues
Pull requests https://patch-diff.githubusercontent.com/hyperf/database-pgsql/pulls
Actions https://patch-diff.githubusercontent.com/hyperf/database-pgsql/actions
Projects https://patch-diff.githubusercontent.com/hyperf/database-pgsql/projects
Security https://patch-diff.githubusercontent.com/hyperf/database-pgsql/security
Insights https://patch-diff.githubusercontent.com/hyperf/database-pgsql/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/hyperf/database-pgsql/issues/9
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/hyperf/database-pgsql/issues/9
pgsql-swoole driver can not prompt errorshttps://patch-diff.githubusercontent.com/hyperf/database-pgsql/issues/9#top
https://github.com/wuxi889
https://github.com/wuxi889
wuxi889https://github.com/wuxi889
on Apr 23, 2023https://github.com/hyperf/database-pgsql/issues/9#issue-1679876653
https://user-images.githubusercontent.com/29323350/233822978-44b3c6e6-e714-4158-a7a6-e30adfd70722.png
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.