1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00

Do you mean snake_case instead of snack_case?

This commit is contained in:
Kevin Leung
2016-05-04 15:18:26 +08:00
parent a1755b91fb
commit bd633d7306

View File

@@ -49,7 +49,7 @@ This will display:
mjr:~/work/node_redis (master)$ mjr:~/work/node_redis (master)$
Note that the API is entirely asynchronous. To get data back from the server, you'll need to use a callback. Note that the API is entirely asynchronous. To get data back from the server, you'll need to use a callback.
From v.2.6 on the API supports camelCase and snack_case and all options / variables / events etc. can be used either way. From v.2.6 on the API supports camelCase and snake_case and all options / variables / events etc. can be used either way.
It is recommended to use camelCase as this is the default for the Node.js landscape. It is recommended to use camelCase as this is the default for the Node.js landscape.
### Promises ### Promises