SqlStatementResult
class SqlStatementResult implements BaseResult, Traversable (View source)
Class SqlStatementResult
Methods
array
fetchAll()
Fetch all the rows from the result set.
array
fetchOne()
Fetch one row from the result set.
int
getAffectedItemsCount()
Get affected row count
int
getColumnsCount()
Get column count
array
getColumnNames()
Get column names
array
getColumns()
Get columns
array
getGeneratedIds()
Get generated ids
string
getLastInsertId()
Get last insert id
array
getWarnings()
Get warnings from last operation
int
getWarningCounts()
Get warning count from last operation
bool
hasData()
Check if result has data
nextResult()
Get next result
Details
array
fetchAll()
Fetch all the rows from the result set.
array
fetchOne()
Fetch one row from the result set.
int
getAffectedItemsCount()
Get affected row count
int
getColumnsCount()
Get column count
array
getColumnNames()
Get column names
array
getColumns()
Get columns
array
getGeneratedIds()
Get generated ids
string
getLastInsertId()
Get last insert id
array
getWarnings()
Get warnings from last operation
int
getWarningCounts()
Get warning count from last operation
bool
hasData()
Check if result has data
Result
nextResult()
Get next result