mysql 异步执行 query //@todo
时间:2021-07-01 10:21:17
帮助过:2人阅读
=
new mysqli("localhost", "root", "", "test"
);
// ee($mysqli);
$a =
$mysqli->query("select sleep (2)",
MYSQLI_ASYNC);
echo ‘run other stuff ‘."\n"
;
$result =
$mysqli->
reap_async_query();
$resultArray =
$result->
fetch_assoc();
ee($resultArray);
mysql 异步执行 query //@todo
标签: