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

Help: How to set key value pair? #39

Open
krishnaTORQUE opened this issue Jun 4, 2024 · 7 comments
Open

Help: How to set key value pair? #39

krishnaTORQUE opened this issue Jun 4, 2024 · 7 comments

Comments

@krishnaTORQUE
Copy link

krishnaTORQUE commented Jun 4, 2024

Help: How to set key value pair?
Is there any simple API where I can store or get key value?

E.g.

valkey_module.set("Key", "Value")

valkey_module.get("Key")

Thanks

@mkmkme
Copy link
Contributor

mkmkme commented Jun 18, 2024

From what I'm seeing from this request you'd like to have a client library for valkey in Rust. This is a library that helps you write a module, i.e. expanding valkey functionality.

Or am I getting it wrong and you want to get/set the key-value pair from the module?

@krishnaTORQUE
Copy link
Author

From what I'm seeing from this request you'd like to have a client library for valkey in Rust. This is a library that helps you write a module, i.e. expanding valkey functionality.

Or am I getting it wrong and you want to get/set the key-value pair from the module?

@mkmkme Thanks
Yes you are right. I am looking for official valkey library for rust that can get, set etc.

@mkmkme
Copy link
Contributor

mkmkme commented Jun 19, 2024

AFAIK there's no Rust client for Valkey at the moment.

However, you could try to use redis-rs with valkey. IIRC currently there are no features exclusive to valkey so it might just work.

@krishnaTORQUE
Copy link
Author

AFAIK there's no Rust client for Valkey at the moment.

However, you could try to use redis-rs with valkey. IIRC currently there are no features exclusive to valkey so it might just work.

Thanks

@mkmkme
Copy link
Contributor

mkmkme commented Jun 19, 2024

@krishnaTORQUE glad to help! Please let me know if it doesn't work for you

@krishnaTORQUE
Copy link
Author

@krishnaTORQUE glad to help! Please let me know if it doesn't work for you

Sure, I will test & let you know.

@mkmkme
Copy link
Contributor

mkmkme commented Jul 9, 2024

@dmitrypol I think this one can be safely closed

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

2 participants