def
LeanRedis.Pipeline.copy
{α : List Type}
(pipeline : Pipeline α)
(source destination : String)
(options : CopyOptions := { })
:
Equations
- pipeline.copy source destination options = pipeline.hAppend (LeanRedis.Pipeline.fromCommand (LeanRedis.Command.copy source destination options))
Instances For
def
LeanRedis.Pipeline.expire
{α : List Type}
(pipeline : Pipeline α)
(key : String)
(seconds : UInt64)
(option : Option ExpireOption := none)
:
Equations
- pipeline.expire key seconds option = pipeline.hAppend (LeanRedis.Pipeline.fromCommand (LeanRedis.Command.expire key seconds option))
Instances For
def
LeanRedis.Pipeline.expireAt
{α : List Type}
(pipeline : Pipeline α)
(key : String)
(timestamp : Std.Time.Timestamp)
(option : Option ExpireOption := none)
:
Equations
- pipeline.expireAt key timestamp option = pipeline.hAppend (LeanRedis.Pipeline.fromCommand (LeanRedis.Command.expireAt key timestamp option))
Instances For
Equations
- pipeline.expireTime key = pipeline.hAppend (LeanRedis.Pipeline.fromCommand (LeanRedis.Command.expireTime key))
Instances For
Equations
- pipeline.objectEncoding key = pipeline.hAppend (LeanRedis.Pipeline.fromCommand (LeanRedis.Command.objectEncoding key))
Instances For
Equations
- pipeline.objectFreq key = pipeline.hAppend (LeanRedis.Pipeline.fromCommand (LeanRedis.Command.objectFreq key))
Instances For
Equations
- pipeline.objectIdleTime key = pipeline.hAppend (LeanRedis.Pipeline.fromCommand (LeanRedis.Command.objectIdleTime key))
Instances For
Equations
- pipeline.objectRefCount key = pipeline.hAppend (LeanRedis.Pipeline.fromCommand (LeanRedis.Command.objectRefCount key))
Instances For
def
LeanRedis.Pipeline.pexpire
{α : List Type}
(pipeline : Pipeline α)
(key : String)
(milliseconds : UInt64)
(option : Option ExpireOption := none)
:
Equations
- pipeline.pexpire key milliseconds option = pipeline.hAppend (LeanRedis.Pipeline.fromCommand (LeanRedis.Command.pexpire key milliseconds option))
Instances For
def
LeanRedis.Pipeline.pexpireAt
{α : List Type}
(pipeline : Pipeline α)
(key : String)
(timestamp : Std.Time.Timestamp)
(option : Option ExpireOption := none)
:
Equations
- pipeline.pexpireAt key timestamp option = pipeline.hAppend (LeanRedis.Pipeline.fromCommand (LeanRedis.Command.pexpireAt key timestamp option))
Instances For
def
LeanRedis.Pipeline.restore
{α : List Type}
(pipeline : Pipeline α)
(key : String)
(ttl : UInt64)
(serializedValue : String)
(options : RestoreOptions := { })
:
Equations
- pipeline.restore key ttl serializedValue options = pipeline.hAppend (LeanRedis.Pipeline.fromCommand (LeanRedis.Command.restore key ttl serializedValue options))
Instances For
def
LeanRedis.Pipeline.scan
{α : List Type}
(pipeline : Pipeline α)
(cursor : UInt64)
(options : ScanOptions := { })
:
Pipeline (α ++ [ScanResult])
Equations
- pipeline.scan cursor options = pipeline.hAppend (LeanRedis.Pipeline.fromCommand (LeanRedis.Command.scan cursor options))
Instances For
def
LeanRedis.Pipeline.sort
{α : List Type}
(pipeline : Pipeline α)
(key : String)
(options : SortOptions := { })
:
Equations
- pipeline.sort key options = pipeline.hAppend (LeanRedis.Pipeline.fromCommand (LeanRedis.Command.sort key options))
Instances For
def
LeanRedis.Pipeline.sortRo
{α : List Type}
(pipeline : Pipeline α)
(key : String)
(options : SortRoOptions := { })
:
Equations
- pipeline.sortRo key options = pipeline.hAppend (LeanRedis.Pipeline.fromCommand (LeanRedis.Command.sortRo key options))