Class: Redis

Inherits:
Object show all
Defined in:
lib/openc3/utilities/store_autoload.rb

Instance Method Summary collapse

Instance Method Details

#xtrim_minid(key, minid, approximate: true, limit: nil) ⇒ Object



252
253
254
255
256
# File 'lib/openc3/utilities/store_autoload.rb', line 252

def xtrim_minid(key, minid, approximate: true, limit: nil)
  args = [:xtrim, key, :MINID, (approximate ? '~' : '='), minid]
  args.concat([:LIMIT, limit]) if limit
  send_command(args)
end