From 5d8dfe892a2ea89f706ee140c3bdcfd89fe03fda Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Wed, 21 Jan 2026 22:40:55 +0100 Subject: Add Redis source code for testing --- examples/redis-unstable/src/commands/lastsave.json | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 examples/redis-unstable/src/commands/lastsave.json (limited to 'examples/redis-unstable/src/commands/lastsave.json') diff --git a/examples/redis-unstable/src/commands/lastsave.json b/examples/redis-unstable/src/commands/lastsave.json new file mode 100644 index 0000000..dc06154 --- /dev/null +++ b/examples/redis-unstable/src/commands/lastsave.json @@ -0,0 +1,26 @@ +{ + "LASTSAVE": { + "summary": "Returns the Unix timestamp of the last successful save to disk.", + "complexity": "O(1)", + "group": "server", + "since": "1.0.0", + "arity": 1, + "function": "lastsaveCommand", + "command_flags": [ + "LOADING", + "STALE", + "FAST" + ], + "command_tips": [ + "NONDETERMINISTIC_OUTPUT" + ], + "acl_categories": [ + "ADMIN", + "DANGEROUS" + ], + "reply_schema": { + "type": "integer", + "description": "UNIX TIME of the last DB save executed with success." + } + } +} -- cgit v1.2.3