Coroutine\MySQL\Statement->fetchAll

Ver >= 4.0-rc1 , 需在connect时加入fetch_mode => true选项

返回一个包含结果集中所有行的数组

function Coroutine\MySQL->fetchAll() : ?array

示例

$stmt = $db->prepare('SELECT * FROM ckl LIMIT 1');
$stmt->execute();
$stmt->fetchAll();