This may be a silly question but did you set your PDO Fetch Style at the top of your database config to PDO::FETCH_BOTH?
Thanks.. but in the config it is set as: 'fetch' => PDO::FETCH_CLASS.
Also I forgot to mention that I am using PHPUnit/testing which is using SQLite/memory... not sure if that makes any difference.
Actually thanks for that suggestion, for some reason this setting from actual config file (config/database) didn't take effect, so I tried putting it inside the config/testing/database.php file where I had my default database set as being SQLite.. and it started working.. weird?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community