system/Database/SQLite3/Result.php
public function getFieldData(): array
	{
		static $data_types = [
			SQLITE3_INTEGER => 'integer',
			SQLITE3_FLOAT   => 'float',
			SQLITE3_TEXT    => 'text',
			SQLITE3_BLOB    => 'blob',
			SQLITE3_NULL    => 'null',
		];

		$retVal = [];

		for ($i = 0, $c = $this->getFieldCount(); $i < $c; $i ++)
		{
			$retVal[$i]             = new \stdClass();
			$retVal[$i]->name       = $this->resultID->columnName($i);
			$type                   = $this->resultID->columnType($i);
			$retVal[$i]->type       = isset($data_types[$type]) ? $data_types[$type] : $type;
			$retVal[$i]->max_length = null;
		}

		return $retVal;
	}
public function getFieldData(): array
	{
		static $data_types = [
			SQLITE3_INTEGER => 'integer',
			SQLITE3_FLOAT   => 'float',
			SQLITE3_TEXT    => 'text',
			SQLITE3_BLOB    => 'blob',
			SQLITE3_NULL    => 'null',
		];

		$retVal = [];

		for ($i = 0, $c = $this->getFieldCount(); $i < $c; $i ++)
		{
			$retVal[$i]             = new \stdClass();
			$retVal[$i]->name       = $this->resultID->columnName($i);
			$type                   = $this->resultID->columnType($i);
			$retVal[$i]->type       = isset($data_types[$type]) ? $data_types[$type] : $type;
			$retVal[$i]->max_length = null;
		}

		return $retVal;
	}
Generates an array of objects representing field meta-data.

@return array