class Result implements BaseResult, Traversable (View source)

Class Result

Methods

int
getAutoIncrementValue()

Get the last AUTO_INCREMENT value (last insert id).

array
getGeneratedIds()

Fetch the generated _id values from the last operation. The unique _id field is generated by the MySQL server.

array
getWarnings()

Retrieve warnings from the last Result operation.

int
getWarningsCount()

Retrieve the number of warnings from the last Result operation.

Details

int getAutoIncrementValue()

Get the last AUTO_INCREMENT value (last insert id).

Return Value

int

array getGeneratedIds()

Fetch the generated _id values from the last operation. The unique _id field is generated by the MySQL server.

Return Value

array

array getWarnings()

Retrieve warnings from the last Result operation.

Return Value

array

int getWarningsCount()

Retrieve the number of warnings from the last Result operation.

Return Value

int