File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ Any previous time to live associated with the key is discarded on successful `SE
66
77The ` SET `  command supports a set of options that modify its behavior:
88
9- *  ` EX `  * seconds*  -- Set the specified expire time, in seconds.
10- *  ` PX `  * milliseconds*  -- Set the specified expire time, in milliseconds.
11- *  ` EXAT `  * timestamp-seconds*  -- Set the specified Unix time at which the key will expire, in seconds.
12- *  ` PXAT `  * timestamp-milliseconds*  -- Set the specified Unix time at which the key will expire, in milliseconds.
9+ *  ` EX `  * seconds*  -- Set the specified expire time, in seconds (a positive integer) .
10+ *  ` PX `  * milliseconds*  -- Set the specified expire time, in milliseconds (a positive integer) .
11+ *  ` EXAT `  * timestamp-seconds*  -- Set the specified Unix time at which the key will expire, in seconds (a positive integer) .
12+ *  ` PXAT `  * timestamp-milliseconds*  -- Set the specified Unix time at which the key will expire, in milliseconds (a positive integer) .
1313*  ` NX `  -- Only set the key if it does not already exist.
1414*  ` XX `  -- Only set the key if it already exists.
1515*  ` KEEPTTL `  -- Retain the time to live associated with the key.
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments