You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def_any(self, left, right):
# https://stackoverflow.com/questions/33517468/always-true-q-object# ~Q(pk__in=[]) => not in? should check the sql/performance# NOTE: We think the pk is not null in mysql schema here# => will genreate `pk not null`` in sql, will cause performance issue# return ~Q(pk=None)# => will generate where condition in sqlreturn~Q(pk__in=[])
replace
The text was updated successfully, but these errors were encountered:
replace
The text was updated successfully, but these errors were encountered: