在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:mysql-async开源软件地址:https://gitee.com/matyhtf/mysql-async开源软件介绍:mysql-asyncAsync mysql client for PHP. Install
Usage$config = array( 'host' => '127.0.0.1', 'user' => 'root', 'password' => 'root', 'database' => 'test',);$pool = new Swoole\Async\MySQL($config, 100);for($i = 0; $i < 10000; $i++){ $pool->query("show tables", function($mysqli, mysqli_result $result){ var_dump($result->fetch_all()); });} |
请发表评论