Closed rkisdp closed 2 years ago
Thank you for the PR, but shouldn't we return the QuerySetAsync
in this case ?
In the above example, I am explaining how none works in Django ORM. The pull request feature I raised will return QuerySetAsync. Am I getting you wrong? please tell me if I am not clear to you.
@rednaks Hi, can you please review it? I want to contribute more.
alright, run some tests locally and it seems good. thanks for the contribution !
Added none query feature:
in Django ORM, calling none() will create a queryset that never returns any objects and no query will be executed when accessing the results. A qs.none() queryset is an instance of EmptyQuerySet.
example: