Skip to content

Commit

Permalink
update comments with empty array return value
Browse files Browse the repository at this point in the history
  • Loading branch information
atakavci committed May 31, 2024
1 parent 517404e commit 47c0ff5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/StackExchange.Redis/Interfaces/IDatabase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ public interface IDatabase : IRedis, IDatabaseAsync
/// <param name="expiry">The timeout to set.</param>
/// <param name="when">under which condition the expiration will be set using <see cref="ExpireWhen"/>.</param>
/// <param name="flags">The flags to use for this operation.</param>
/// <returns> null if the key does not exist. Otherwise returns an array where each item is the result of operation for given fields;
/// <returns> Empty array if the key does not exist. Otherwise returns an array where each item is the result of operation for given fields;
/// 2: field deleted because the specified expiration time is due
/// 1: expiration time set/updated
/// 0: expiration time is not set/update (a specified ExpireWhen condition is not met)
Expand All @@ -351,7 +351,7 @@ public interface IDatabase : IRedis, IDatabaseAsync
/// <param name="expiry">The exact date to expiry to set.</param>
/// <param name="when">under which condition the expiration will be set using <see cref="ExpireWhen"/>.</param>
/// <param name="flags">The flags to use for this operation.</param>
/// <returns> null if the key does not exist. Otherwise returns an array where each item is the result of operation for given fields;
/// <returns> Empty array if the key does not exist. Otherwise returns an array where each item is the result of operation for given fields;
/// 2: field deleted because the specified expiration time is due
/// 1: expiration time set/updated
/// 0: expiration time is not set/update (a specified ExpireWhen condition is not met)
Expand All @@ -365,7 +365,7 @@ public interface IDatabase : IRedis, IDatabaseAsync
/// <param name="key">The key of the hash.</param>
/// <param name="hashFields">The fields in the hash to get expire time.</param>
/// <param name="flags">The flags to use for this operation.</param>
/// <returns>null if the key does not exist. Otherwise returns the result of operation for given fields
/// <returns>Empty array if the key does not exist. Otherwise returns the result of operation for given fields
/// expiration time: as a UNIX timestamp in milliseconds
/// -1: if field has no associated expiration time
/// -2: no such field
Expand All @@ -378,7 +378,7 @@ public interface IDatabase : IRedis, IDatabaseAsync
/// <param name="key">The key of the hash.</param>
/// <param name="hashFields">The fields in the hash to remove expire time.</param>
/// <param name="flags">The flags to use for this operation.</param>
/// <returns>null if the key does not exist. Otherwise returns the result of operation for given fields
/// <returns>Empty array if the key does not exist. Otherwise returns the result of operation for given fields
/// 1: if the expiration time was removed
/// -1: if field has no associated expiration time
/// -2: no such field
Expand All @@ -391,7 +391,7 @@ public interface IDatabase : IRedis, IDatabaseAsync
/// <param name="key">The key of the hash.</param>
/// <param name="hashFields">The fields in the hash to get expire time.</param>
/// <param name="flags">The flags to use for this operation.</param>
/// <returns>null if the key does not exist. Otherwise returns the result of operation for given fields
/// <returns>Empty array if the key does not exist. Otherwise returns the result of operation for given fields
/// time to live: in milliseconds
/// -1: if field has no associated expiration time
/// -2: no such field
Expand Down
10 changes: 5 additions & 5 deletions src/StackExchange.Redis/Interfaces/IDatabaseAsync.cs
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ public interface IDatabaseAsync : IRedisAsync
/// <param name="expiry">The timeout to set.</param>
/// <param name="when">under which condition the expiration will be set using <see cref="ExpireWhen"/>.</param>
/// <param name="flags">The flags to use for this operation.</param>
/// <returns> null if the key does not exist. Otherwise returns an array where each item is the result of operation for given fields;
/// <returns> Empty array if the key does not exist. Otherwise returns an array where each item is the result of operation for given fields;
/// 2: field deleted because the specified expiration time is due
/// 1: expiration time set/updated
/// 0: expiration time is not set/update (a specified ExpireWhen condition is not met)
Expand All @@ -338,7 +338,7 @@ public interface IDatabaseAsync : IRedisAsync
/// <param name="expiry">The exact date to expiry to set.</param>
/// <param name="when">under which condition the expiration will be set using <see cref="ExpireWhen"/>.</param>
/// <param name="flags">The flags to use for this operation.</param>
/// <returns> null if the key does not exist. Otherwise returns an array where each item is the result of operation for given fields;
/// <returns> Empty array if the key does not exist. Otherwise returns an array where each item is the result of operation for given fields;
/// 2: field deleted because the specified expiration time is due
/// 1: expiration time set/updated
/// 0: expiration time is not set/update (a specified ExpireWhen condition is not met)
Expand All @@ -352,7 +352,7 @@ public interface IDatabaseAsync : IRedisAsync
/// <param name="key">The key of the hash.</param>
/// <param name="hashFields">The fields in the hash to get expire time.</param>
/// <param name="flags">The flags to use for this operation.</param>
/// <returns>null if the key does not exist. Otherwise returns the result of operation for given fields
/// <returns>Empty array if the key does not exist. Otherwise returns the result of operation for given fields
/// expiration time: as a UNIX timestamp in milliseconds
/// -1: if field has no associated expiration time
/// -2: no such field
Expand All @@ -365,7 +365,7 @@ public interface IDatabaseAsync : IRedisAsync
/// <param name="key">The key of the hash.</param>
/// <param name="hashFields">The fields in the hash to remove expire time.</param>
/// <param name="flags">The flags to use for this operation.</param>
/// <returns>null if the key does not exist. Otherwise returns the result of operation for given fields
/// <returns>Empty array if the key does not exist. Otherwise returns the result of operation for given fields
/// 1: if the expiration time was removed
/// -1: if field has no associated expiration time
/// -2: no such field
Expand All @@ -378,7 +378,7 @@ public interface IDatabaseAsync : IRedisAsync
/// <param name="key">The key of the hash.</param>
/// <param name="hashFields">The fields in the hash to get expire time.</param>
/// <param name="flags">The flags to use for this operation.</param>
/// <returns>null if the key does not exist. Otherwise returns the result of operation for given fields
/// <returns>Empty array if the key does not exist. Otherwise returns the result of operation for given fields
/// time to live: in milliseconds
/// -1: if field has no associated expiration time
/// -2: no such field
Expand Down

0 comments on commit 47c0ff5

Please sign in to comment.