* * @throws Exception */ public function fetchAllKeyValue(): array; /** * Returns an associative array with the keys mapped to the first column and the values being * an associative array representing the rest of the columns and their values. * * @return array> * * @throws Exception */ public function fetchAllAssociativeIndexed(): array; /** * Returns an iterator over the result set with the values of the first column of the result * * @return Traversable * * @throws Exception */ public function iterateKeyValue(): Traversable; /** * Returns an iterator over the result set with the keys mapped to the first column and the values being * an associative array representing the rest of the columns and their values. * * @return Traversable> * * @throws Exception */ public function iterateAssociativeIndexed(): Traversable; }