Flow PHP

SqliteTypes implements NativeTypes

Read onlyYes
FinalYes

SQLite has no per-column type: SQLite3Result::columnType() describes the value, not the column, and sqlite3_column_decltype() is not bound in PHP. An all-string schema is a true statement about it rather than a floor, and the read casts values to match.

Interfaces

NativeTypes

Methods

toFlowType()  : null|Type<string|int, mixed>

Methods

toFlowType()

public toFlowType(int|string|null $native) : null|Type<string|int, mixed>
Parameters
$native : int|string|null
Return values
null|Type<string|int, mixed>

null when this adapter has no Flow type for the driver type

On this page

Search results