6 #include <redis3m/reply.h>
7 #include <redis3m/connection.h>
29 script_exec(
const std::string& script,
bool is_path=
false);
39 const std::vector<std::string>& keys=std::vector<std::string>(),
40 const std::vector<std::string>& args=std::vector<std::string>());
The connection class, represent a connection to a Redis server.
Definition: connection.h:27
Helps to run Lua scripts on a Redis instance. It will take care to use EVALSHA to optimize performanc...
Definition: script_exec.h:21
Represent a reply received from redis server.
Definition: reply.h:18
script_exec(const std::string &script, bool is_path=false)
Create script_exec.
Definition: script_exec.cpp:12
reply exec(connection::ptr_t connection, const std::vector< std::string > &keys=std::vector< std::string >(), const std::vector< std::string > &args=std::vector< std::string >())
Execute the script. First trying with EVALSHA, then with EVAL.
Definition: script_exec.cpp:31