You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: redismodule-rs-macros/src/lib.rs
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ mod command;
6
6
mod info_section;
7
7
mod redis_value;
8
8
9
-
/// This proc macro allow to specify that the follow function is a Redis command.
9
+
/// This proc macro allow to specify that the follow function is a Valkey command.
10
10
/// The macro accept the following arguments that discribe the command properties:
11
11
/// * name (optional) - The command name. in case not given, the function name will be taken.
12
12
/// * flags - An array of [`command::RedisCommandFlags`].
@@ -31,12 +31,12 @@ mod redis_value;
31
31
/// * NotKey - The key is not actually a key, but should be routed in cluster mode as if it was a key.
32
32
/// * Incomplete - The keyspec might not point out all the keys it should cover.
33
33
/// * VariableFlags - Some keys might have different flags depending on arguments.
34
-
/// * begin_search - Represents how Redis should start looking for keys.
34
+
/// * begin_search - Represents how Valkey should start looking for keys.
35
35
/// There are 2 possible options:
36
36
/// * Index - start looking for keys from a given position.
37
37
/// * Keyword - Search for a specific keyward and start looking for keys from this keyword
38
-
/// * FindKeys - After Redis finds the location from where it needs to start looking for keys,
39
-
/// Redis will start finding keys base on the information in this struct.
38
+
/// * FindKeys - After Valkey finds the location from where it needs to start looking for keys,
39
+
/// Valkey will start finding keys base on the information in this struct.
40
40
/// There are 2 possible options:
41
41
/// * Range - An object of three element `last_key`, `steps`, `limit`.
42
42
/// * last_key - Index of the last key relative to the result of the
@@ -80,7 +80,7 @@ mod redis_value;
80
80
/// }
81
81
/// ```
82
82
///
83
-
/// **Notice**, by default Redis does not validate the command spec. User should validate the command keys on the module command code. The command spec is used for validation on cluster so Redis can raise a cross slot error when needed.
83
+
/// **Notice**, by default Valkey does not validate the command spec. User should validate the command keys on the module command code. The command spec is used for validation on cluster so Valkey can raise a cross slot error when needed.
0 commit comments