Firstly I Have More than 1 Million Data In my database , while i want to
perform aggregation or annotation or filter it took huge time , i have to
show all data at a time,,, i use select_related() for foreign key but i
want to optimize database hitting , like i want to fetch all data from
database in first database hit and convert them into dictionary or list and
perform another queries into dictionary or list without hitting database i
hope it can optimize database hit Example : In Laravel I Fetch All data
from database and convert it into Array while i have to perform queries
into it i convert them into collect() and perform queries , and it dont hit
the database .
[a link ]:(https://laravel.com/docs/5.8/collections) !

I Can perform this in Django ???
-- 
<https://about.me/shakilahmmed?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb>
Shakil Ahmmed
about.me/shakilahmmed
<https://about.me/shakilahmmed?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2BEpJfwCnMV_e5Th6HXTMSPQ%3DjeEFYzYjnV7WpXjvHm968mOrQ%40mail.gmail.com.
  • [no subject] Shakil Ahmmed
    • Re: Budi Hermansyah
      • Re: Shakil Ahmmed

Reply via email to