Add __len__() & __bool__() to RawQueryset
— at       Version 3
    
    
    
      
      
      
        
__len__ & __bool__ are not implemented because of not having internal results caching in RawQueryset (as discussed in #22349). #28600 adds support for results caching.
       
     
   
 
      
        
        
          Change History
          (3)
        
          
  
  
  
    
      | Owner: | 
      
        changed from nobody to Adnan Umer
       | 
    
    
      | Status: | 
      
        new → assigned
       | 
    
  
 
           
          
  
  
  
    
      | Triage Stage: | 
      
        Unreviewed → Accepted
       | 
    
  
 
           
          
  
  
  
    
      | Description: | 
      
        modified (diff)
       | 
    
    
      | Has patch: | 
      
        set
       | 
    
    
      | Summary: | 
      
        __len__ & __bool__ support in RawQueryset → Add __len__() & __bool__() to RawQueryset
       | 
    
    
      | Triage Stage: | 
      
        Accepted → Ready for checkin
       | 
    
    
      | Type: | 
      
        New feature → Cleanup/optimization
       | 
    
  
 
           
          
         
       
     
        
    
    
Follow on from #28600