Documentation

AbstractSqlExecutor
in package

AbstractYes

Base class for SQL statement executors.

Tags
link
http://www.doctrine-project.org
todo

Rename: AbstractSQLExecutor

Table of Contents

Properties

$_sqlStatements  : array<int, string>|string
$queryCacheProfile  : QueryCacheProfile

Methods

execute()  : Result|int
Executes all sql statements.
getSqlStatements()  : array<string|int, mixed>|string
Gets the SQL statements that are executed by the executor.
removeQueryCacheProfile()  : void
Do not use query cache
setQueryCacheProfile()  : void

Properties

Methods

execute()

Executes all sql statements.

public abstract execute(Connection $conn, array<string|int, mixed> $params, array<string|int, mixed> $types) : Result|int
Parameters
$conn : Connection

The database connection that is used to execute the queries.

$params : array<string|int, mixed>
$types : array<string|int, mixed>
Tags
psalm-param

list|array<string, mixed> $params The parameters.

psalm-param

array<int, int|string|Type|null>| array<string, int|string|Type|null> $types The parameter types.

Return values
Result|int

getSqlStatements()

Gets the SQL statements that are executed by the executor.

public getSqlStatements() : array<string|int, mixed>|string
Return values
array<string|int, mixed>|string

All the SQL update statements.

removeQueryCacheProfile()

Do not use query cache

public removeQueryCacheProfile() : void

        
On this page

Search results