#12809: Add returning of parameters for get_from_clause()
------------------------------------------+---------------------------------
 Reporter:  Kronuz                        |       Owner:  nobody    
   Status:  new                           |   Milestone:            
Component:  Database layer (models, ORM)  |     Version:            
 Keywords:  dynamic queries, from         |       Stage:  Unreviewed
Has_patch:  0                             |  
------------------------------------------+---------------------------------
 Could it be possible to make the get_from_clause() in
 django.db.models.sql.compiler return params? It'd be useful in some cases
 to be able to "insert" parameters to the FROM (such as when you need to
 add an ON clause or other "extended" things)
 For an example of this, you can check the "Simple Backend" for the django-
 fts (at google code), in where I need to "patch" the structures directly
 to achieve what I wanted (or perhaps there's a better way?)... it's right
 there in fts.backends.simple, in the _search() method... where I add extra
 joined tables to do the search (just after the tables already in the
 queryset). I'd appreciate any comments. :)

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12809>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" 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/django-updates?hl=en.

Reply via email to