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

i fail to get the redis values,help plz~~ #28

Closed
kingxyt06 opened this issue Dec 1, 2023 · 1 comment
Closed

i fail to get the redis values,help plz~~ #28

kingxyt06 opened this issue Dec 1, 2023 · 1 comment
Assignees
Labels

Comments

@kingxyt06
Copy link

image
image

as like the pic,why client.get() return {} , help me plzzzzzz~~
the redis already set , but get return {}...

i also try the sample like:
client.set('res','123')
client.get('res')
but also return {}

@codebien
Copy link
Contributor

codebien commented Dec 1, 2023

Hey @kingxyt06,
the client.get method returns a Promise. Check the documentation to see how to use it.

Feel free to reopen if you still don't get the value.

@codebien codebien closed this as completed Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants