Firstly. Hi, i'm new to this group.  Hopefully I can offer something
back to the community in due course.  But currently I'm having an
issue with the DbFinder plugin.

I am building a complex query using DbFinder and would like to clone
it once i've built my query. e.g:

$count_finder = clone $finder;

I want to create a cloned instance so I can run $count_finder->count()
on one instance and $finder->find() (with an offset and limit set) on
the second instance.  I'm paginating a large resultset so therefore
don't want to just run find() and then count the number of items in
the array.

I love DbFinder and would like prefer to find a solution because I've
had this problem a few times before.

Cheers.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to