sugdel(
key: str, // The suggestion dictionary key
string: str // The suggestion string to delete
) → int // 1 if the suggestion was deleted, 0 otherwise
Possible errors
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.
client.ft.sugDel(
key: RedisArgument, // The suggestion dictionary key
string: RedisArgument // The suggestion string to delete
) → number // 1 if the suggestion was deleted, 0 otherwise
Possible errors
- WRONGTYPE:
SimpleError (test with err.message.startsWith('WRONGTYPE'))
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.
No method signature available for this client.
ftSugDel(
key: String, // The suggestion dictionary key
string: String // The suggestion string to delete
) → boolean // true if the suggestion was deleted
Possible errors
- WRONGTYPE:
JedisDataException
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.
ftSugdel(
key: K, // the suggestion dictionary key
suggestion: String // the suggestion string to delete
) → Boolean // true if the string was found and deleted, false otherwise
Possible errors
- WRONGTYPE:
RedisCommandExecutionException
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.
ftSugdel(
key: K, // the suggestion dictionary key
suggestion: String // the suggestion string to delete
) → RedisFuture<Boolean> // true if the string was found and deleted, false otherwise
Possible errors
- WRONGTYPE:
RedisCommandExecutionException
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.
ftSugdel(
key: K, // the suggestion dictionary key
suggestion: String // the suggestion string to delete
) → Mono<Boolean> // true if the string was found and deleted, false otherwise
Possible errors
- WRONGTYPE:
RedisCommandExecutionException
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.
FTSugDel(
ctx: context.Context,
key: string, // The suggestion dictionary key
suggestion: string // The suggestion string to delete
) → *IntCmd // 1 if the suggestion was deleted, 0 otherwise
Possible errors
- WRONGTYPE:
redis.Error (test with redis.HasErrorPrefix(err, "WRONGTYPE"))
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.
SugDel(
key: string, // The suggestion dictionary key
str: string // The suggestion string to delete
) → bool // true if the suggestion was deleted
Possible errors
- WRONGTYPE:
RedisServerException
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.
SugDelAsync(
key: string, // The suggestion dictionary key
str: string // The suggestion string to delete
) → Task<bool> // true if the suggestion was deleted
Possible errors
- WRONGTYPE:
RedisServerException
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.
ftsugdel(
$key: string, // The suggestion dictionary key
$string: string // The suggestion string to delete
) → int // 1 if deleted, 0 if not found
Possible errors
- WRONGTYPE:
Predis\Response\ServerException (test with $e->getErrorType() === 'WRONGTYPE')
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.
ft_sugdel(
key: String, // the suggestion dictionary key
string: String // the suggestion text to delete
) → Integer // 1 if the suggestion existed and was deleted, 0 otherwise
Possible errors
- WRONGTYPE:
Redis::WrongTypeError
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.
redis-rs has no dedicated method for this command. Send it with redis::cmd.
redis-rs has no dedicated method for this command. Send it with redis::cmd.