Documentation

LeanRedis.Command.Generic

Generic commands

This module contains implementations of commands that don't fit into a more specific category. For example, the PING command is implemented here since it doesn't belong to a specific data type category like strings or hashes.

Instances For
    Equations
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        def LeanRedis.CommandRequest.copy (source destination : String) (options : CopyOptions := { }) :

        COPY source destination [DB db] [REPLACE]

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          def LeanRedis.Command.copy (source destination : String) (options : CopyOptions := { }) :
          Equations
          Instances For

            DEL key [key ...]

            Equations
            Instances For
              Equations
              Instances For

                EXISTS key [key ...]

                Equations
                Instances For
                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    @[implicit_reducible]
                    Equations
                    • One or more equations did not get rendered due to their size.

                    EXPIRE key seconds [NX | XX | GT | LT]

                    Equations
                    Instances For

                      EXPIREAT key unix-time-seconds [NX | XX | GT | LT]

                      Equations
                      Instances For

                        EXPIRETIME key

                        Equations
                        Instances For

                          KEYS pattern

                          Equations
                          Instances For
                            Instances For
                              def LeanRedis.CommandRequest.migrate (host : String) (port : UInt16) (keys : Array String) (destinationDb : UInt32 := 0) (timeout : UInt64 := 5000) (options : MigrateOptions := { }) :

                              MIGRATE host port key|"" destination-db timeout [COPY] [REPLACE] [AUTH password] [AUTH2 username password] [KEYS key [key ...]]

                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For

                                MOVE key db

                                Equations
                                Instances For

                                  OBJECT ENCODING key

                                  Equations
                                  Instances For

                                    OBJECT FREQ key

                                    Equations
                                    Instances For

                                      OBJECT IDLETIME key

                                      Equations
                                      Instances For

                                        OBJECT REFCOUNT key

                                        Equations
                                        Instances For

                                          PERSIST key

                                          Equations
                                          Instances For

                                            PEXPIRE key milliseconds [NX | XX | GT | LT]

                                            Equations
                                            Instances For

                                              PEXPIREAT key unix-time-milliseconds [NX | XX | GT | LT]

                                              Equations
                                              Instances For

                                                RENAME key newkey

                                                Equations
                                                Instances For

                                                  RENAMENX key newkey

                                                  Equations
                                                  Instances For
                                                    Instances For
                                                      def LeanRedis.CommandRequest.restore (key : String) (ttl : UInt64) (serializedValue : String) (options : RestoreOptions := { }) :

                                                      RESTORE key ttl serialized-value [REPLACE] [ABSTTL] [IDLETIME time] [FREQ freq]

                                                      Equations
                                                      • One or more equations did not get rendered due to their size.
                                                      Instances For
                                                        Instances For

                                                          SCAN cursor [MATCH pattern] [COUNT count] [TYPE type]

                                                          Equations
                                                          • One or more equations did not get rendered due to their size.
                                                          Instances For
                                                            Instances For

                                                              SORT key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC | DESC] [ALPHA] [STORE destination]

                                                              Equations
                                                              • One or more equations did not get rendered due to their size.
                                                              Instances For
                                                                Instances For

                                                                  SORT_RO key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC | DESC] [ALPHA]

                                                                  Equations
                                                                  • One or more equations did not get rendered due to their size.
                                                                  Instances For

                                                                    TOUCH key [key ...]

                                                                    Equations
                                                                    Instances For
                                                                      def LeanRedis.Command.expire (key : String) (seconds : UInt64) (option : Option ExpireOption := none) :
                                                                      Equations
                                                                      Instances For
                                                                        Equations
                                                                        Instances For
                                                                          Equations
                                                                          Instances For
                                                                            def LeanRedis.Command.move (key : String) (destinationDb : UInt32) :
                                                                            Equations
                                                                            Instances For
                                                                              def LeanRedis.Command.pexpire (key : String) (milliseconds : UInt64) (option : Option ExpireOption := none) :
                                                                              Equations
                                                                              Instances For
                                                                                Equations
                                                                                Instances For
                                                                                  Equations
                                                                                  Instances For
                                                                                    Equations
                                                                                    Instances For
                                                                                      def LeanRedis.Command.restore (key : String) (ttl : UInt64) (serializedValue : String) (options : RestoreOptions := { }) :
                                                                                      Equations
                                                                                      Instances For
                                                                                        Equations
                                                                                        Instances For
                                                                                          Equations
                                                                                          Instances For
                                                                                            Equations
                                                                                            Instances For
                                                                                              Equations
                                                                                              Instances For