| Methods |
public
|
__construct()
Initializes a new instance of the <tt>ParserResult</tt> class.
The new instance is initialized with an empty <tt…
Initializes a new instance of the ParserResult class.
The new instance is initialized with an empty ResultSetMapping.
|
#
|
public
|
getResultSetMapping(): ResultSetMapping
Gets the ResultSetMapping for the parsed query.
Gets the ResultSetMapping for the parsed query.
Returns
The result set mapping of the parsed query
|
#
|
public
|
setResultSetMapping(ResultSetMapping $rsm): void
Sets the ResultSetMapping of the parsed query.
Sets the ResultSetMapping of the parsed query.
|
#
|
public
|
setSqlExecutor(AbstractSqlExecutor $executor): void
Sets the SQL executor that should be used for this ParserResult.
Sets the SQL executor that should be used for this ParserResult.
|
#
|
public
|
getSqlExecutor(): AbstractSqlExecutor
Gets the SQL executor used by this ParserResult.
Gets the SQL executor used by this ParserResult.
|
#
|
public
|
addParameterMapping(string|int $dqlPosition, int $sqlPosition): void
Adds a DQL to SQL parameter mapping. One DQL parameter name/position can map to
several SQL parameter positions.
Adds a DQL to SQL parameter mapping. One DQL parameter name/position can map to
several SQL parameter positions.
|
#
|
public
|
getParameterMappings()
Gets all DQL to SQL parameter mappings.
Gets all DQL to SQL parameter mappings.
|
#
|
public
|
getSqlParameterPositions(string|int $dqlPosition): int[]
Gets the SQL parameter positions for a DQL parameter name/position.
Gets the SQL parameter positions for a DQL parameter name/position.
Parameters
| $dqlPosition |
The name or position of the DQL parameter.
|
Returns
The positions of the corresponding SQL parameters.
|
#
|
public
|
__wakeup(): void
|
#
|
public
|
__unserialize(array<string, mixed> $data): void
|
#
|