[Answer]-Django orm layer

1👍

Yes – look into the Manager.raw method, which will let you run raw SQL queries. You’d want to use Subscription.objects.raw(...) for your query.

Leave a comment