Memcached Get Operation with Python Example

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/memcached-get-operation-python-example/
PINTEREST
PINTEREST
INSTAGRAM

We store key-values all time but I belive that the time to get these values have came :). Now we will look how to get values by providing keys. The simplest syntax in memcached is get operation.

  • get is the verb of the operation.
  • key1  is the key of the value we want to get
  • key2,key3,… are the keys we want to get. We can get multiple values with single get.

As the first we add out key as we have learned before.

  • get is the verb of the operation
  • poftut is the key of the value
  • VALUE is value options like name flag size
  • test is the value we are looking for
  • END means transaction is successfully ended.

Python Application

When executed following output is given

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/memcached-get-operation-python-example/
PINTEREST
PINTEREST
INSTAGRAM

LEARN MORE  Memcached Get Check and Set Operation

You may also like...

Leave a Reply

Your email address will not be published.

Enjoy this blog? Please spread the word :)