gosexy / redis

Redis client for Go that maps the full redis command list into equivalent Go functions.
MIT License
167 stars 44 forks source link

how to #43

Open shyandsy opened 9 years ago

shyandsy commented 9 years ago

Hi,

How to execute fuzzy matching by gosexy redis?

like: businessinfo = client.get("business*") I hope it return all key=>values that key starts by "business_"

elithrar commented 9 years ago

You'll want to use SCAN with the MATCH argument - http://redis.io/commands/scan