class DocResult implements BaseResult, Traversable (View source)

Class DocResult

Methods

array
fetchAll()

Get all rows

array
fetchOne()

Fetch one result from a result set.

array
getWarnings()

Fetches warnings generated by MySQL server's last operation.

int
getWarningsCount()

Returns the number of warnings raised by the last operation. Specifically, these warnings are raised by the MySQL server.

Details

array fetchAll()

Get all rows

Return Value

array

array fetchOne()

Fetch one result from a result set.

Return Value

array

array getWarnings()

Fetches warnings generated by MySQL server's last operation.

Return Value

array

int getWarningsCount()

Returns the number of warnings raised by the last operation. Specifically, these warnings are raised by the MySQL server.

Return Value

int