Flow PHP

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

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
Tags
throws
InvalidArgumentException

a column that does not hold $count values

Return values
ConvertedParameters}
On this page

Search results