Flow PHP

LastPreparedStatement

FinalYes

Consecutive chunks of one shape produce the same SQL, and preparing it again costs a server round trip - on pgsql also a parse of every placeholder - so the last prepared statement is re-bound and re-executed instead.

Methods

execute()  : void

Methods

execute()

public execute(Connection $connection, string $sql, array<string, mixed>|array<int, mixed> $parameters, array<string|int, mixed> $types) : void
Parameters
$connection : Connection
$sql : string
$parameters : array<string, mixed>|array<int, mixed>
$types : array<string|int, mixed>
Tags
throws
Exception
On this page

Search results