News for hackers. Stuff that matters.
Re:Writing a non-relational Django backend by twanschik on Tuesday April 06, 2010 @11:36AM (#1244815)
When you are naming something like the SQLCompiler "SQLCompiler" even if it fits non-relational database's needs than naming it "SQLCompiler" was wrong!
Re:Writing a non-relational Django backend by kingkilr on Tuesday April 06, 2010 @11:46AM (#1244848)
As I said on reddit, the name isn't misleading. SQLCompiler is used for generating SQL, and assumes relational database concepts like joins, table aliases, and aggregation.
Re:Writing a non-relational Django backend by wkornewald on Tuesday April 06, 2010 @12:00PM (#1244889)
Now, here comes the surprise: That's exactly what we want to emulate with Django nonrel. It's exactly the feature set we badly want to have. This is the reason why the SQLQuery/SQLCompiler stuff fits so well (though, you're right, we're only using a fraction of SQLCompiler's code, so we could actually implement a simplified base class which is used by both, but we can discuss this later on the django-developers group).