How do you use the node.js redis library, what are the core concepts of redis and what does all the redis functions do, e.g. hset, hg开发者_如何学编程et etc? Could I have some example.
How do you use the nodejs redis library
Check out node_redis and its examples.
what are the core concepts of redis
You should look at redis data types in order to get a bigger picture of its concepts and data types.
what does all the redis functions do
Try to look at this introduction in order to better understand its commands.
The book Learning Node has Chapter 9 Structured Data with Node and Redis.
Here are the redis documentation.
And here is the nodejs documentation.
What you're using in nodejs should just be a redis-driver. So using redis in nodejs is the same as using redis in any other environment.
精彩评论