Google Groups

Re: [misc] Re: New Redis Client for Dart released

Seth Ladd May 15, 2012 8:18 AM
Posted in group: Dart Misc
Thanks for sharing!

On Mon, May 14, 2012 at 9:26 PM, financeCoding <> wrote:

On Monday, May 14, 2012 8:09:24 PM UTC-7, mythz wrote:
Hi Dartisians,

I've just released v1 of my new Redis Client for Dart at:

It's a fairly full-featured async/non-blocking Redis Client with
support (and tests) for all redis Admin operations and its string,
set, list, sorted set & hash collections. Here's a flavour of it:

RedisClient client = new RedisClient("password@localhost:6379/0");
client.smadd("setId", ["B","A","A","C","D","B","E"]);
client.smembers("setId").then((members) => print("setId contains:
client.hmset("hashId", {"B":2,"A":1,"C":3,"D":4,"E":5});
client.hmget("hashId", ["A","B","C"]).then((values) => print("selected
hashId values: $values"));

And its output:

setId contains: [A, B, C, D, E]
selected hashId values: [1, 2, 3]

The full API and more examples is available on the project website:

- Demis