zhamao-framework/docs/api/ZM/MySQL/MySQLStatementWrapper.md
2022-03-27 16:42:36 +08:00

3.0 KiB

ZM\MySQL\MySQLStatementWrapper

getIterator

public function getIterator(): ResultStatement

描述

获取结果的迭代器 wrapper method

返回

类型 描述
ResultStatement

columnCount

public function columnCount(): int

描述

获取列数 wrapper method

返回

类型 描述
int

fetchNumeric

public function fetchNumeric(): array|false|mixed

描述

wrapper method

返回

类型 描述
array false

fetchAssociative

public function fetchAssociative(): array|false|mixed

描述

wrapper method

返回

类型 描述
array false

fetchOne

public function fetchOne(): false|mixed

描述

wrapper method

返回

类型 描述
false mixed

fetchAllNumeric

public function fetchAllNumeric(): array

描述

wrapper method

返回

类型 描述
array

fetchAllAssociative

public function fetchAllAssociative(): array

描述

wrapper method

返回

类型 描述
array

fetchAllKeyValue

public function fetchAllKeyValue(): array

描述

wrapper method

返回

类型 描述
array

fetchAllAssociativeIndexed

public function fetchAllAssociativeIndexed(): array

描述

wrapper method

返回

类型 描述
array

fetchFirstColumn

public function fetchFirstColumn(): array

描述

wrapper method

返回

类型 描述
array

iterateNumeric

public function iterateNumeric(): Traversable

描述

wrapper method

返回

类型 描述
Traversable

iterateAssociative

public function iterateAssociative(): Traversable

描述

wrapper method

返回

类型 描述
Traversable

iterateKeyValue

public function iterateKeyValue(): Traversable

描述

wrapper method

返回

类型 描述
Traversable

iterateAssociativeIndexed

public function iterateAssociativeIndexed(): Traversable

描述

wrapper method

返回

类型 描述
Traversable

iterateColumn

public function iterateColumn(): Traversable

描述

wrapper method

返回

类型 描述
Traversable

rowCount

public function rowCount(): int

描述

wrapper method

返回

类型 描述
int

free

public function free(): void

描述

wrapper method

返回

类型 描述
void