Enable L expressions in `queryset.extra`
|Reported by:||jbzdak@…||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||1.4|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Here is my problem: in a django queryset I need to call a stored procedure that does some spatial lookup. This procedure takes three parameters: two constants, and one SQL expression. This expression is equivalent to django queryset lookup: path, but as far as I know there is no way to pass L expression to queryset.extra (well, at least I tried).
It would be great if I could pass L expressions to queryset extra (somehow), could you enable it?
If it is indeed possible (well StackOverflow says it is not) please treat this ticked as a documentation update request.
Change History (2)
comment:1 Changed 22 months ago by jbzdak@…
- Component changed from Uncategorized to Database layer (models, ORM)
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Type changed from Uncategorized to New feature