Question

I have lots of records in my database table.If I want to get the all records with Idiorm then I am not successful to find this. Actually i have 20000 records and I want all with query.It is not possible with Idiorm .

How could it be possible.

Here is My Code :

$app = Slim::getInstance();

$recipe= ORM::for_table('recipes')->find_many();
Was it helpful?

Solution

Found the solution for this issue.You need to add these line before you query

ORM::configure('return_result_sets', true);

Thanks @Dagon for you help to find the correct solutions.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top