0
Transform this to django query
SELECT products.name, products.modified, count(licenses.id) AS license_count FROM products JOIN licenses ON products.id=licenses.product_id GROUP BY products.name; I need to execute that using django framework
1 Odpowiedź
+ 4
I would try the queryset api. But I have no means to test it.
https://docs.djangoproject.com/en/2.1/ref/models/querysets/