Changes between Initial Version and Version 1 of Ticket #31549


Ignore:
Timestamp:
May 8, 2020, 4:40:45 AM (5 years ago)
Author:
Lawes
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31549 – Description

    initial v1  
    99queryset = MyModel.objects.filter(import_at__month=5, import_at__year=import_at[0])
    1010print(queryset.count())
    11 >>>  4
     11It will print  4
    1212
    1313but when I used connection, I got diffrent result:
     
    1818    print(len(cursor.fetchall()))
    1919
    20 >>> 0
     20It will print 0
    2121
    2222I got 0 !
Back to Top