Home >Backend Development >PHP Tutorial >How to obtain swoole asynchronous mysql callback data in the request

How to obtain swoole asynchronous mysql callback data in the request

WBOY
WBOYOriginal
2016-08-04 09:21:101276browse

1. Looking at the swoole document, I only see the implementation of asynchronous mysql, but I don’t see the specific application. It may be that I didn’t see it. I just want to ask if I use asynchronous query mysql in a request. The asynchronous query will call callback. How should I get the query results of this callback in this request

Reply content:

1. Looking at the swoole document, I only see the implementation of asynchronous mysql, but I don’t see the specific application. It may be that I didn’t see it. I just want to ask if I use asynchronous query mysql in a request. The asynchronous query will call callback. How should I get the query results of this callback in this request

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn