Re: Using server side cursors for values and values_list

2017-11-20 Thread Dražen Odobašić
Hi, the change seems relatively simple: https://code.djangoproject.com/ticket/28817, and it does not break any existing tests. Dražen On 18/11/17 18:07, Josh Smeaton wrote: > I can't think of any reasons why not to do this off the top of my head. Have > you > looked into the code? Is there any

Re: Using server side cursors for values and values_list

2017-11-18 Thread Josh Smeaton
I can't think of any reasons why not to do this off the top of my head. Have you looked into the code? Is there any technical reason you can see that might prevent chunked fetching from working there? On Saturday, 18 November 2017 03:27:13 UTC+11, Dražen Odobašić wrote: > > Hi, > > at the

Using server side cursors for values and values_list

2017-11-17 Thread Dražen Odobašić
Hi, at the moment `chunked_fetch` (server side cursors) are only initialized for ModelIterable class. Is there any reason why we should not do the same for other BaseIterable classes (ValuesIterable, ValuesListIterable and FlatValuesListIterable). The idea is that you could then use