TypedColumns
Read onlyYes
FinalYes
Methods
- schema() : Schema
- Every column is nullable: result metadata cannot prove NOT NULL, and an outer join or an expression can always produce null. Duplicate output names collapse last-wins, matching what fetchAssociative() does to the row itself.
Methods
schema()
Every column is nullable: result metadata cannot prove NOT NULL, and an outer join or an expression can always produce null. Duplicate output names collapse last-wins, matching what fetchAssociative() does to the row itself.
public
schema(array<int, ResultColumn> $columns, NativeTypes $types, class-string $extractor) : Schema
Parameters
- $columns : array<int, ResultColumn>
- $types : NativeTypes
- $extractor : class-string