PDO::FETCH_CLASS with multiple classes

后端 未结 4 1298
春和景丽
春和景丽 2021-01-29 02:35

I am trying to turn an query result into classes.

$result->setFetchMode(PDO::FETCH_CLASS, \'myclass\', array());

This works quite well howev

4条回答
提交回复
热议问题