mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-04 11:54:10 +00:00 
			
		
		
		
	Supporting NOT IN as a filter
				
					
				
			This commit is contained in:
		
							parent
							
								
									5ed07cb27a
								
							
						
					
					
						commit
						ec0992b3b9
					
				@ -1109,6 +1109,13 @@ module.exports = function(strapi) {
 | 
			
		||||
            symbol: 'IN',
 | 
			
		||||
            value,
 | 
			
		||||
          };
 | 
			
		||||
          break;          
 | 
			
		||||
        case '_nin':
 | 
			
		||||
          result.key = `where.${key}`;
 | 
			
		||||
          result.value = {
 | 
			
		||||
            symbol: 'NOT IN',
 | 
			
		||||
            value,
 | 
			
		||||
          };
 | 
			
		||||
          break;
 | 
			
		||||
        default:
 | 
			
		||||
          return undefined;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user