Thanks to visit codestin.com
Credit goes to github.com

Skip to content

findMany() returns only the last record in a set #156

@risingfish

Description

@risingfish

I cloned the database one week ago and the latest version of iodiorm would only return the last record in a set.

The example I used to prove it out was to create table called users and insert 16 users. Using the follow code I could only ever return the last record. A friend of mine working in the same code base confirmed the issue. I am on Linux and he is on OSX.

\ORM::configure('mysql:host=localhost;dbname=------');
\ORM::configure('username', '----');
\ORM::configure('password', '----');
\ORM::configure('logging', true);

$people = \ORM::forTable('users')->findMany();

I have a little more info on Stackoverflow and this was all done using the latest code from Git.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions