# SqlStatementResult class

(PECL mysql-xdevapi >= 8.0.11)

## Introduction

## Class synopsis

mysql_xdevapi\SqlStatementResult implements mysql_xdevapi\BaseResult , Traversable {
/* Methods */
public fetchAll ( void ) : array
public fetchOne ( void ) : array
public getAffectedItemsCount ( void ) : integer
public getColumnsCount ( void ) : integer
public getColumnNames ( void ) : array
public getColumns ( void ) : Array
public getGeneratedIds ( void ) : array
public getLastInsertId ( void ) : String
public getWarnings ( void ) : array
public getWarningCounts ( void ) : integer
public hasData ( void ) : bool
public nextResult ( void ) : mysql_xdevapi\Result
}

## Table of Contents

- SqlStatementResult::__construct — Description constructor
- SqlStatementResult::fetchAll — Get all rows from result
- SqlStatementResult::fetchOne — Get single row
- SqlStatementResult::getAffectedItemsCount — Get affected row count
- SqlStatementResult::getColumnsCount — Get column count
- SqlStatementResult::getColumnNames — Get column names
- SqlStatementResult::getColumns — Get columns
- SqlStatementResult::getGeneratedIds — Get generated ids
- SqlStatementResult::getLastInsertId — Get last insert id
- SqlStatementResult::getWarnings — Get warnings from last operation
- SqlStatementResult::getWarningsCount — Get warning count from last operation
- SqlStatementResult::hasData — Check if result has data
- SqlStatementResult::nextResult — Get next result