tedis
tedis copied to clipboard
[Question] How can i set de database number in my connection?
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
Does not answer original question but, for anyone who finds themselves here looking to switch databases with Tedis, you can run the SELECT command manually:
https://tedis.silkjs.org/api/base.html#command
await tedis.command('SELECT', '1');