(PHP 5 >= 5.3.0, PHP 7, PHP 8)
SQLite3Result::columnType — Returns the type of the nth column
Returns the type of the column identified by
column
.
column
The numeric zero-based index of the column.
Returns the data type index of the column identified by
column
(one of
SQLITE3_INTEGER
, SQLITE3_FLOAT
,
SQLITE3_TEXT
, SQLITE3_BLOB
, or
SQLITE3_NULL
), or false
if the column does not exist.