SilverStripe\PostgreSQL\PostgreSQLQuery
A result-set from a PostgreSQL database.
Synopsis
class PostgreSQLQuery
extends Query
{
- // members
- private $handle;
- private array $columnNames = ;
- protected static array $typeMapping = ;
- // methods
- public void __construct()
- public void __destruct()
- public void seek()
- public void numRecords()
- public void nextRecord()
- protected array parseResult()
Hierarchy
Extends
- SilverStripe\ORM\Connect\Query
Members
private
- $columnNames
- $handle
—
resource
The internal Postgres handle that points to the result set.
protected
- $typeMapping
—
array
Mapping of postgresql types to PHP types Note that the bool => int mapping is by design, designed to mimic MySQL's behaviour
Methods
protected
public
- __construct() — Hook the result-set given into a Query class, suitable for use by sapphire.
- __destruct()
- nextRecord()
- numRecords()
- seek()