Re: GSoC10 Idea: Additional queryset methods

2010-03-19 Thread Malcolm Tredinnick
On Fri, 2010-03-19 at 05:39 -0700, Sh4wn wrote: [..] > I want to refactor the QuerySet and other databases related API's, > which adds an additional method of selecting records, and provides > more control of what data you'll select, but probably is a bit more > complex than the current API. It's a

Re: GSoC10 Idea: Additional queryset methods

2010-03-19 Thread Sh4wn
I will only add new things, and won't break any current API. Why this is needed: You can actually do *database independent* queries with full control. The current API is IMO limited when trying to execute queries with joins. Especially when you want to aggregate data from the joined table. Yes, si

Re: GSoC10 Idea: Additional queryset methods

2010-03-19 Thread Taylor Marshall
On Fri, Mar 19, 2010 at 11:09 AM, Karen Tracey wrote: > However, it does seem to be in direct conflict with the idea of getting to > the ORM working on non-SQL databases. The additional methods mentioned > (select, from, leftJoin) together all sound like they are moving the app-ORM > interface clo

Re: GSoC10 Idea: Additional queryset methods

2010-03-19 Thread Karen Tracey
On Fri, Mar 19, 2010 at 10:47 AM, Jacob Kaplan-Moss wrote: > On Fri, Mar 19, 2010 at 7:39 AM, Sh4wn wrote: > > I want to refactor the QuerySet and other databases related API's, > > which adds an additional method of selecting records, and provides > > more control of what data you'll select, but

Re: GSoC10 Idea: Additional queryset methods

2010-03-19 Thread Jacob Kaplan-Moss
On Fri, Mar 19, 2010 at 7:39 AM, Sh4wn wrote: > I want to refactor the QuerySet and other databases related API's, > which adds an additional method of selecting records, and provides > more control of what data you'll select, but probably is a bit more > complex than the current API. I don't wan

Re: GSoC10 Idea: Additional queryset methods

2010-03-19 Thread Gert Van Gool
What would be the difference with the new raw method on manager (http://docs.djangoproject.com/en/dev/topics/db/sql/#django.db.models.Manager.raw)? -- Gert Mobile: +32 498725202 Web: http://gert.selentic.net On Fri, Mar 19, 2010 at 13:39, Sh4wn wrote: > ## The Django ORM > > ### The Problem >

GSoC10 Idea: Additional queryset methods

2010-03-19 Thread Sh4wn
## The Django ORM ### The Problem Django is a awesome webframework, and works quite well. But after using it for about a year now, I've came across some annoyances. One great thing of django is the amount of third party reusable apps, unfortunately, this comes at a cost in the number of database