Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • my objects were in JSON format. I converted it into a string and entered into the database. Could you guide me how I could query by a specific date? Commented May 6, 2015 at 5:27
  • You can't. Redis doesn't understand your JSON string. To be able to query by date, you would need to convert your dates into string keys that you would map to the object ID, or store them as sorted sets to make range queries. In short, you should probably use a different database. Postgres and MongoDB are popular options that both support storing JSON documents and querying their properties. Commented May 6, 2015 at 18:15