On 25 Sep 2009, at 11:26, Jacques Crocker wrote:
> SELECT COUNT(*) FROM "posts" WHERE "category_id" IN () > > Here's a snippet that reproduces the error: > http://gist.github.com/193440 Is the real bug here that counting the children of a new resource is an invalid request? If so, Simon's suggestion of raising would make sense, as would Kai's suggestion of returning [0] arrays when requesting aggregates agains an empty list of saved resources. Ashley -- http://www.patchspace.co.uk/ http://www.linkedin.com/in/ashleymoran http://aviewfromafar.net/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" 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/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
