Open oli414 opened 6 years ago
$resultA = ProjectQuery::create()->select(["Title",` "Description"])->find()->toArray(null, false, 'camelName'); // json: [{"Title": "X", "Description": "Y"}, {"Title": "F", "Description": "G"}] $resultB = ProjectQuery::create()->find()->toArray(null, false, 'camelName'); // json: [{"id": 0, "title": "X", "description": "Y"}, {"id": 1, "title": "F", "description": "G"}]
I would expect "resultA" to properly camelCase the keys like in "resultB". This however does not appear to be the case.
I would expect "resultA" to properly camelCase the keys like in "resultB". This however does not appear to be the case.