tedis
tedis copied to clipboard
redis client with typescript and esnext for nodejs
``` try{ //如果此处redis断连 await redis.set(xxx,xxxx) //永远无法进入到这里 } catch(e){ //也无法进入到这 } ``` 查了base.ts发现command方法里,如果异常后就没法回调callback了,这样导致Promise永远无法resolve了
The [`mget`](https://github.com/silkjs/tedis/blob/next/src/core/tedis.ts#L335-L345) method has two parameters: ```ts /** * Returns the values of all specified keys. For every key that does not hold a string value or does not *...
warning tedis > [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
get by key the issue got it const tediss = new Tedis({ port: 6379, host: "127.0.0.1" }); let response_all = await tediss.get("d751713988987e9331980363e24189ce"); TypeError [ERR_INVALID_ARG_TYPE]: The "string" argument must be of...
I am using tedis in one of my application. On redis-cli the GEOPOS command returns correct data, whereas when we are using tedis client to run the command it returns...
Hi, Im just new to Tedis and have some doubts. **1. timeour?** What this parameter means? Is it a **timeout** ? If so, what units? seconds? milliseconds? What is it...
I'm sure there's a reason for this, but I can't find it anywhere in the docs or code. As far as I know redis can only return strings (at least...
Hello, Is this project still maintained?
I'm assuming this is just a syntax issue, but I can't seem to use mget with a variable. If I have a variable const keys = ["record1", "record2", "record3"] The...
Hello, I'm starting with `Tedis`, but in configuration i can only pass: `host` and `port` Is that possible to use full url? E.g: `redis://127.0.0.10:6666/5`