Zhamao Framework  3.0.0-beta1
A high-performance chatbot + web framework
DBStatementWrapper类 参考

Public 成员函数

 __construct (public ?Result $stmt)
 
 getIterator ()
 
 columnCount ()
 
 fetchNumeric ()
 
 fetchAssociative ()
 
 fetchOne ()
 
 fetchAllNumeric ()
 
 fetchAllAssociative ()
 
 fetchAllKeyValue ()
 
 fetchAllAssociativeIndexed ()
 
 fetchFirstColumn ()
 
 iterateNumeric ()
 
 iterateAssociative ()
 
 iterateKeyValue ()
 
 iterateAssociativeIndexed ()
 
 iterateColumn ()
 
 rowCount ()
 
 free ()
 

构造及析构函数说明

◆ __construct()

__construct ( public ?Result  $stmt)

成员函数说明

◆ columnCount()

columnCount ( )

获取列数 wrapper method

返回
int

◆ fetchAllAssociative()

fetchAllAssociative ( )

wrapper method

异常
DBException

◆ fetchAllAssociativeIndexed()

fetchAllAssociativeIndexed ( )

wrapper method

异常
DBException

◆ fetchAllKeyValue()

fetchAllKeyValue ( )

wrapper method

异常
DBException

◆ fetchAllNumeric()

fetchAllNumeric ( )

wrapper method

异常
DBException

◆ fetchAssociative()

fetchAssociative ( )

wrapper method

返回
array|false|mixed
异常
DBException

◆ fetchFirstColumn()

fetchFirstColumn ( )

wrapper method

异常
DBException

◆ fetchNumeric()

fetchNumeric ( )

wrapper method

返回
array|false|mixed
异常
DBException

◆ fetchOne()

fetchOne ( )

wrapper method

返回
false|mixed
异常
DBException

◆ free()

free ( )

wrapper method

◆ getIterator()

getIterator ( )

获取结果的迭代器 wrapper method

返回
ResultStatement

◆ iterateAssociative()

iterateAssociative ( )

wrapper method

异常
DBException

◆ iterateAssociativeIndexed()

iterateAssociativeIndexed ( )

wrapper method

异常
DBException

◆ iterateColumn()

iterateColumn ( )

wrapper method

异常
DBException

◆ iterateKeyValue()

iterateKeyValue ( )

wrapper method

异常
DBException

◆ iterateNumeric()

iterateNumeric ( )

wrapper method

异常
DBException

◆ rowCount()

rowCount ( )

wrapper method

返回
int
异常
DBException

该类的文档由以下文件生成: