Blimster / resp_client

A RESP (REdis Serialization Protocol) client for Dart.
MIT License
8 stars 4 forks source link

Transaction support #12

Closed domesticmouse closed 3 years ago

domesticmouse commented 3 years ago

Please add support for MULTI, EXEC, DISCARD and WATCH commands.

Redis transaction topic documentation

Blimster commented 3 years ago

Hi. I looked into it. This is a bigger refactoring, because commands executed in a transaction return other values as in "normal" mode.

The refactoring will took a while. Meanwhile, try the low-level API described here: https://github.com/Blimster/resp_client#use-low-level-api

domesticmouse commented 3 years ago

We are looking at options for migrating the dart-services project to null safety. Our current Dart redis client Dartis isn't null safe: https://github.com/jcmellado/dartis/issues/34

Blimster commented 3 years ago

I released v1.2.0 of resp_client on pub.dev with support for the transaction-related commands. I added an example for the usage. Hope that helps.