SQLite3Result::columnType

(PHP 5 >= 5.3.0, PHP 7)

SQLite3Result::columnTypeReturns the type of the nth column

说明

public SQLite3Result::columnType ( int $column_number ) : int

Returns the type of the column identified by column_number.

参数

column_number

The numeric zero-based index of the column.

返回值

Returns the data type index of the column identified by column_number (one of SQLITE3_INTEGER, SQLITE3_FLOAT, SQLITE3_TEXT, SQLITE3_BLOB, or SQLITE3_NULL).

相关文章
php ibm db2 函数 returns an array indexed by column position representing a row in a result setphp ibm db2 函数 returns an array indexed by column name representing a row in a result setphp ibm db2 函数 returns the name of the column in the result setphp ibm db2 函数 returns the position of the named column in a result setphp ibm db2 函数 returns the precision of the indicated column in a result setphp ibm db2 函数 returns the scale of the indicated column in a result setphp ibm db2 函数 returns the data type of the indicated column in a result setphp ibm db2 函数 returns the width of the current value of the indicated column in a result setphp ibm db2 函数 returns a single column from a row in the result setphp sqlite 函数 fetches a column from the current row of a result setphp sqlite 函数 fetches the first column of a result set as a stringphp sqlite 函数 returns the number of fields in a result setphp sqlite 函数 returns the number of rows in a buffered result setphp sqlite 函数 executes a query against a given database and returns a result handlephp sqlite 函数 executes a query and returns either an array for one single column or the value of the first rowphp sqlite3 returns the numeric result code of the most recent failed sqlite requestphp sqlite3result returns the name of the nth columnphp sqlite3result returns the type of the nth columnphp sqlite3result returns the number of columns in the result setphp sqlite3stmt executes a prepared statement and returns a result set object
关注编程学问公众号