Re: [NoSQL] Sub-object queries / refactoring JOIN syntax into model fields

2011-10-20 Thread Jonas H.
bump On 09/28/2011 12:52 AM, Jonas H. wrote: Hallöchen, some non-relational databases (e.g. MongoDB) have support for arbitrarily nested objects. To make queries that "reach" into these sub-objects, the Django-nonrel developers find it appealing to use JOIN syntax. For instance, if you had this

RE: [NoSQL] Sub-object queries / refactoring JOIN syntax into model fields

2011-09-28 Thread Kääriäinen Anssi
I think that lookup separator syntax is definitely the right approach here. The implementation should modify setup_joins. I think the cleanest approach would be to detect that the current lookup part leads to a field with subfields in either this part of the code: else:

Re: [NoSQL] Sub-object queries / refactoring JOIN syntax into model fields

2011-09-28 Thread Jonas H.
On 09/28/2011 11:47 AM, Florian Apolloner wrote: On Wednesday, September 28, 2011 12:52:51 AM UTC+2, jo...@lophus.org wrote: What's the core team's opinion on this topic -- is there any chance to Secondly, how could this be implemented? Did you search the mailing list about this topic at a

Re: [NoSQL] Sub-object queries / refactoring JOIN syntax into model fields

2011-09-28 Thread Florian Apolloner
On Wednesday, September 28, 2011 12:52:51 AM UTC+2, jo...@lophus.org wrote: > > What's the core team's opinion on this topic -- is there any chance to > > Secondly, how could this be implemented? > Did you search the mailing list about this topic at all yet? I am not sure, but I think Alex impl