Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'keyPrefix' not working when command is in capital letter #1933

Open
eran-kr-MA opened this issue Dec 4, 2024 · 0 comments
Open

'keyPrefix' not working when command is in capital letter #1933

eran-kr-MA opened this issue Dec 4, 2024 · 0 comments

Comments

@eran-kr-MA
Copy link

const client = new Redis.Cluster(redisConnection, {
redisOptions: {
keyPrefix: 'eran:'
},
keyPrefix: 'eran:' // known issue that keyPrefix inside redisOptions is not working
})

client.call('set', 'x1', '1') -> will save 'eran:x1' with value '1'
client.call('SET', 'x1', '1') -> will save 'x1' with value '1'

TNX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant