Documentation

SingleSelectExecutor extends AbstractSqlExecutor
in package

Executor that executes the SQL statement for simple DQL SELECT statements.

Tags
link
www.doctrine-project.org

Table of Contents

Properties

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

Methods

__construct()  : mixed
execute()  : Result
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 execute(Connection $conn, array<string|int, mixed> $params, array<string|int, mixed> $types) : Result
Parameters
$conn : Connection

The database connection that is used to execute the queries.

$params : array<string|int, mixed>
$types : array<string|int, mixed>
Return values
Result

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