m6w6 / ext-pq

PostgreSQL client library (libpq) binding
BSD 2-Clause "Simplified" License
39 stars 7 forks source link

FETCH_CLASS #7

Closed ParkFramework closed 8 years ago

ParkFramework commented 8 years ago

I did not find in the documentation option fetch FETCH_CLASS Like PDO::FETCH_CLASS http://php.net/manual/en/pdo.constants.php

You want to add this option, or we write the implementation in PHP userland? Thank.

m6w6 commented 8 years ago

Sorry, this feature was deliberately left out, because of the can of worms it opens: do we call the ctor before or after we set the properties, do we even call the ctor at all? Et cetera, et cetera... :)

See also: https://bugs.php.net/search.php?cmd=display&search_for=FETCH_CLASS&x=0&y=0&status=All

ParkFramework commented 8 years ago

Ok.

m6w6 commented 8 years ago

Anyway, thanks for your suggestion!