Re: [RDBO] get_objects with multiple one to many relations

2007-06-14 Thread Adrian Howard
On 14 Jun 2007, at 02:47, John Siracusa wrote: > On 6/13/07 9:29 PM, Cees Hek wrote: >> Could you not just join the locations table twice? > > Actually, in the latest version, I don't think you can do that. But I > wonder if I should (re)allow it. Opinions? This is one of the things I tried an

Re: [RDBO] get_objects with multiple one to many relations

2007-06-14 Thread Adrian Howard
On 14 Jun 2007, at 10:58, Adrian Howard wrote: > > On 14 Jun 2007, at 02:47, John Siracusa wrote: > >> On 6/13/07 9:29 PM, Cees Hek wrote: >>> Could you not just join the locations table twice? >> >> Actually, in the latest version, I don't think you can do that. >> But I >> wonder if I should

[RDBO] MakeMethods::Generic.pm 'count' interface errors

2007-06-14 Thread Derek Watson
Hello, I am trying to move to related_count() method calls in my RDBO (0.764) app, they seem so convenient and quick. I am running into two separate bugs, however: 1. A fatal error is thrown when the object count is zero. I believe this is happening around line 2749 of MakeMethods::Generic: $cou