(PHP 5 >= 5.3.0, PHP 7)
SQLite3Result::columnType — Returns 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).
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/sqlite3result.columntype.php