Req #69016 [Opn->Sus]: PDOEntity Interface to handle column mapping PDO::FETCH_CLASS
| From: | cmb@php.net | Date: | Mon, 09 Aug 2021 11:20:27 +0000 |
| Subject: | Req #69016 [Opn->Sus]: PDOEntity Interface to handle column mapping PDO::FETCH_CLASS | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-235702@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69016&edit=1
ID: 69016
Updated by: cmb@php.net
Reported by: tugrultopuz at gmail dot com
Summary: PDOEntity Interface to handle column mapping
PDO::FETCH_CLASS
-Status: Open
+Status: Suspended
Type: Feature/Change Request
Package: PDO related
Operating System: Linux
PHP Version: 5.4.37
Block user comment: N
Private report: N
New Comment:
Apparently, that HHVM PR had been abandoned. Anyhow, that would
require the RFC process[1], so please pursue it if you're still
interested in this feature. For the time being, I suspend this
ticket.
[1] <https://wiki.php.net/rfc/howto>
Previous Comments:
------------------------------------------------------------------------
[2016-08-06 11:46:34] tugrultopuz at gmail dot com
I implemented this feature for HHVM.
https://github.com/facebook/hhvm/pull/7242
https://github.com/facebook/hhvm/pull/7242/files
------------------------------------------------------------------------
[2015-02-08 18:22:38] tugrultopuz at gmail dot com
Description:
------------
Hydration of the joined resultset too hard in current situation.
select A.store_id as sid, B.first_name as firstName from sakila.store A inner join sakila.staff B on
A.manager_staff_id = B.staff_id;
Above query have got and two table join and column name aliasing. I can hydrade resultset to two
seperated models with my patch
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69016&edit=1