Django .annotate()
Let's imagine this database. Here we have some records about cryptocurrencies. Notice that we have two records of SLP token.
pkownerorder_datecurrencyinvested_amount_usd
1111/2/2022BTC5000
2111/2/2022ETH700
3111/2/2022SLP50
4111/2/2022DOT5
...
jhonsanz.hashnode.dev2 min read