Req #69016 [Opn]: PDOEntity Interface to handle column mapping PDO::FETCH_CLASS

From: Date: Sat, 06 Aug 2016 11:46:35 +0000
Subject: Req #69016 [Opn]: PDOEntity Interface to handle column mapping PDO::FETCH_CLASS
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-202999@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 User updated by: tugrultopuz at gmail dot com Reported by: tugrultopuz at gmail dot com -Summary: PDO Fetch Class Handling Property Setting and PDO_MYSQL extra column meta +Summary: PDOEntity Interface to handle column mapping PDO::FETCH_CLASS Status: Open Type: Feature/Change Request Package: PDO related Operating System: Linux PHP Version: 5.4.37 Block user comment: N Private report: N New Comment: I implemented this feature for HHVM. https://github.com/facebook/hhvm/pull/7242 https://github.com/facebook/hhvm/pull/7242/files Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#202999) next »