hirlite: Interface to rlite

View source: R/hirlite.R

hirliteR Documentation

Interface to rlite

Description

Create an interface to rlite, with a generated interface to all rlite commands (using Redux).

Usage

hirlite(...)

rlite_available(...)

Arguments

...

Named configuration options passed to redis_config, used to create the environment (notable keys include host, port, and the environment variable REDIS_URL). In addition to the Redux treatment of the configuration, RLITE_URL takes precendence over REDIS_URL, and a host of localhost or 127.0.0.1 will be treated as an in-memory database (:memory:).

Examples

r <- hirlite()
r$PING()
r$SET("foo", "bar")
r$GET("foo")

ropensci/rrlite documentation built on Nov. 8, 2024, 2:48 a.m.