Doctrine


Doctrine\ORM\Query\Exec\AbstractSqlExecutor
/Doctrine/ORM/Query/Exec/AbstractSqlExecutor.php at line 35

Class AbstractSqlExecutor

AbstractSqlExecutor

public abstract class AbstractSqlExecutor

Base class for SQL statement executors.

Author:
Roman Borschel
License:
http://www.opensource.org/licenses/lgpl-license.php LGPL
See Also:
http://www.doctrine-project.org
Since:
2.0
Todo:
Rename: AbstractSQLExecutor

Field Summary
protected mixed

$_sqlStatements

Method Summary
abstract Doctrine\DBAL\Driver\Statement

execute(Doctrine\DBAL\Connection conn, array params, mixed types)

Executes all sql statements.

array

getSqlStatements()

Gets the SQL statements that are executed by the executor.

Field Detail

/Doctrine/ORM/Query/Exec/AbstractSqlExecutor.php at line 37

_sqlStatements

protected mixed $_sqlStatements

Method Detail

/Doctrine/ORM/Query/Exec/AbstractSqlExecutor.php at line 56

execute

public abstract Doctrine\DBAL\Driver\Statement execute(Doctrine\DBAL\Connection conn, array params, mixed types)

Executes all sql statements.

Parameters:
conn - The database connection that is used to execute the queries.
params - The parameters.

/Doctrine/ORM/Query/Exec/AbstractSqlExecutor.php at line 44

getSqlStatements

public array getSqlStatements()

Gets the SQL statements that are executed by the executor.

Returns:
All the SQL update statements.

Doctrine