InsertQueryBuilder
Read onlyYes
FinalYes
Methods
- __construct() : mixed
- build() : ConvertedParameters}
- Every value already in PostgreSQL's text form. A column's converter is resolved once, on its first non-null value - so a column of an unmapped type holding only nulls passes. Parameters are bound row by row, read straight from the columns.
Methods
__construct()
public
__construct(string $table, TypesMap $typesMap) : mixed
Parameters
- $table : string
- $typesMap : TypesMap
build()
Every value already in PostgreSQL's text form. A column's converter is resolved once, on its first non-null value - so a column of an unmapped type holding only nulls passes. Parameters are bound row by row, read straight from the columns.
public
build(array<string, array<int, mixed>> $columns, int $count, Schema $schema, ValueConverters $converters[, InsertOptions|null $options = null ]) : ConvertedParameters}
Parameters
- $columns : array<string, array<int, mixed>>
-
every column's encoded values, $count of them each
- $count : int
- $schema : Schema
- $converters : ValueConverters
- $options : InsertOptions|null = null