企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# Coroutine\MySQL\Statement->fetch > Ver >= `4.0-rc1` , 需在`connect`时加入`fetch_mode => true`选项 从结果集中获取下一行 ```php function Coroutine\MySQL->fetch() : ?array ``` ### 示例 ```php $stmt = $db->prepare('SELECT * FROM ckl LIMIT 1'); $stmt->execute(); while($ret = $stmt->fetch()) { var_dump($ret); } ```