From: Josiah Carlson <josiah.carl...@gmail.com>
Date: Sat, 3 Nov 2012 11:06:02 -0700
Local: Sat, Nov 3 2012 2:06 pm
Subject: Re: Example of setting a hmset using the python api
If you just want to fetch all of the key names:
r.hkeys('blogtable_userDetails_John') if you want all of the keys and values: r.hgetall('blogtable_userDetails_John') These are all standard Redis commands, which you can read about at:
Regards,
On Sat, Nov 3, 2012 at 7:32 AM, Sivaranjini D <drou...@gmail.com> wrote:
> Hi, > In hmget command, how do I have print all fields for a key?
> import redis
> In the above eg, the values are printed for the field names that are passed.
> Thanks,
> On Friday, 10 February 2012 22:58:57 UTC-8, Josiah Carlson wrote:
>> r.hmset(name, {'field1':'Hello', 'field2':'World'})
>> Regards,
>> On Fri, Feb 10, 2012 at 7:16 PM, David Montgomery
>> > Given this HMSET myhash field1 "Hello" field2 "World" how do I use
>> > Thanks
>> > --
>> > For more options, visit this group at
> --
> To post to this group, send email to redis-db@googlegroups.com.
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||