Closed marick closed 8 years ago
(I do know that using multiple databases is somewhat deprecated. In our case, it's a lot easier to have development and test versions of redis by having two databases than by having two instances. And the main issue is principal of <my and people like me's> least surprise.
Hi Brian, sure - PR welcome - thanks! :-)
It took me rather a long time of puzzling to realize that Carmine doesn't support a
/<db>
option for connections, as redis-rb does. (It's silently ignored.) A quick scan found only two other clients that obviously support URIs at all. Of them, Dartist (Dart) also supports/<db>
. ServiceStack.Redis (C#) requires an&db=1
at the end of the URI.If it seems useful to add handling of
/<db>
incarmine.connections.parse-uri
, I'll make a pull request.