Need a MySQL query for selecting from a table storing key value pairs
I need to store few items and its properties in form of a key value pairs in the database (mySQL). I am planning to do it as following.
I need to store few items and its properties in form of a key value pairs in the database (mySQL). I am planning to do it as following.
I have two same app running on different one for demo and one for developement .and m using the redis database to store key value, how can i seperate redis database for these two different app. m using node.js for redis client. and m using this https://github.com/mranney/node_redis/ redis client.
I want to store array of hashes in redis , what is best way to code it ?