On Mon, Dec 22, 2014 at 10:41 AM, tom <
toma...@gmail.com> wrote:
> i need a query which gets all tasks for one or more projects, but only the
> last group of names + values in terms of the timestamp (the most recent
> group)
I'm not sure I exactly understand that, but the easiest way to clarify
(or figure it out yourself) is to write a test.
Start with a fixture or some factory code to generate representative
data. Then write the test that shows exactly your expectation of the
data to be returned. Then write the method that does that :-)
If you're stuck on the last part, you can at least post your example
data and failing test to get better advice.
FWIW,
--
Hassan Schroeder ------------------------
hassan.s...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan