Skip to content

Add custom row object class support? #104

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

lysol
Copy link

@lysol lysol commented Mar 7, 2012

A nice feature of PHP's PDO layer is that you can specify an object class to
fetch rows as. This commit adds support for specifying either a
client-level or query-level row object to fetch them into, with a
default of a plain-jane Object.

A nice feature of PHP's PDO layer is you can specify an object class to
fetch rows as. This commit adds support for specify either a
client-level or query-level row object to fetch them into, with a
default of a plain-jane Object.
@brianc
Copy link
Owner

brianc commented Mar 21, 2012

see issue #110

@brianc
Copy link
Owner

brianc commented Mar 21, 2012

tl; dr - what can be supported in consuming libraries should be supported in consuming libraries. This is a database client only. Not an ORM or abstraction layer. There's nothing wrong with ORM's or abstraction layers...it's just that they don't belong in the close-to-the-metal code.

@brianc brianc closed this Mar 21, 2012
@lysol
Copy link
Author

lysol commented Mar 21, 2012

Fair enough. Thanks for the response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants