DriverResult extends AbstractResultMiddleware
TYPO3's custom Result object for Database statements based on Doctrine DBAL.
This is a lowlevel wrapper around PDO for TYPO3 based drivers to ensure mapResourceToString() is called when retrieving data. This isn't the actual Result object (Doctrine\DBAL\Result) which is used in user-land code.
this implementation is not part of TYPO3's Public API.
Table of Contents
Methods
- fetchAllAssociative() : array<string|int, mixed>
- {@inheritDoc}
- fetchAllNumeric() : array<string|int, mixed>
- {@inheritDoc}
- fetchAssociative() : array<string|int, mixed>|false
- {@inheritDoc}
- fetchFirstColumn() : array<string|int, mixed>
- {@inheritDoc}
- fetchNumeric() : array<string|int, mixed>|false
- {@inheritDoc}
- fetchOne() : mixed
- {@inheritDoc}
- mapResourceToString() : mixed
- Map resources to string like is done for e.g. in mysqli driver
Methods
fetchAllAssociative()
{@inheritDoc}
    public
                    fetchAllAssociative() : array<string|int, mixed>
    Return values
array<string|int, mixed>fetchAllNumeric()
{@inheritDoc}
    public
                    fetchAllNumeric() : array<string|int, mixed>
    Return values
array<string|int, mixed>fetchAssociative()
{@inheritDoc}
    public
                    fetchAssociative() : array<string|int, mixed>|false
    Return values
array<string|int, mixed>|falsefetchFirstColumn()
{@inheritDoc}
    public
                    fetchFirstColumn() : array<string|int, mixed>
    Return values
array<string|int, mixed>fetchNumeric()
{@inheritDoc}
    public
                    fetchNumeric() : array<string|int, mixed>|false
    Return values
array<string|int, mixed>|falsefetchOne()
{@inheritDoc}
    public
                    fetchOne() : mixed
    mapResourceToString()
Map resources to string like is done for e.g. in mysqli driver
    protected
                    mapResourceToString(mixed $record) : mixed
    Parameters
- $record : mixed