Skip to content

No exists? method #172

Closed
Closed
@andreyruby

Description

@andreyruby

Redis 4.2 warns :

  • Redis#exists(key) will return an Integer in redis-rb 4.3. exists? returns a boolean, you should use it instead. To opt-in to the new behavior now you can set Redis.exists_returns_integer = true. To disable this message and keep the current (boolean) behaviour of 'exists' you can set Redis.exists_returns_integer = false, but this option will be removed in 5.0

But changing exists to exists? shows redis-namespace error

  • Passing 'exists?' command to redis as is; blind passthrough has been deprecated and will be removed in redis-namespace 2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions