Re: Help with a huge database query.

2021-05-31 Thread 'odrzen' via Django users
() is to use .values() > instead, explicitly specifying which fields you need to export. > > Just FYI rest_framework handles this out of the box and provides an API to > specify not only which fields to export but filters as well. > > Regards > /d > > On Fri, May 28, 2021 at

Help with a huge database query.

2021-05-27 Thread 'odrzen' via Django users
Hello Django community o/ I want to create a API call in order to get all data from a specific model ( table ) - but I want to exclude-remove only specific fields from this. So, I try to find a right way to execute this difficult and "heavy" query/request with a efficient way. This is what I hav