dartist / redis_client

A high-performance async/non-blocking Redis client for Dart
BSD 2-Clause "Simplified" License
100 stars 29 forks source link

hset, hget gone? #33

Closed MaxHorstmann closed 10 years ago

MaxHorstmann commented 10 years ago

Looks like ghere's no client.hget / .hset anymore for hashes.

bbss commented 10 years ago

I'm not sure what you mean. Did something break compared to the old api?

https://github.com/dartist/redis_client/blob/master/lib/redis_client/redis_client.dart#L1287

MaxHorstmann commented 10 years ago

Hmm strange, looks like the previous version on pub (0.1.8) had the hset functions temporarily commented out:

//  /// HASH
//  /// ====
//
//
//  /// Wrapper for [RawRedisCommands.hset].
//  Future<bool> hset(String hashId, String key, Object value) => raw.hset(hashId, key, serializer.serialize(value));
//
//  /// Wrapper for [RawRedisCommands.hsetnx].
//  Future<bool> hsetnx(String hashId, String key, Object value) => raw.hsetnx(hashId, key, serializer.serialize(value));

It's fixed in 0.1.9 though, so all good.

bbss commented 10 years ago

Ah yeah hadn't implemented them yet at that time.