This capability is a part of Redis Stack Object-Mapper libraries (Beta)

Object-Mapper libraries for Redis Stack

Redis OM (pronounced REDiss OHM) is a library that provides object mapping for Redis—that's what the OM stands for... object mapping. It maps Redis data types — specifically Hashes and JSON documents — to JavaScript objects. And it allows you to search over these Hashes and JSON documents. It uses the Redis JSON and Search and Query features to do this.

JSON and Search and Query are two of the features included in Redis Stack. Features, formerly called modules, are extensions to Redis that add new data types and new commands. JSON adds a JSON document data type and the commands to manipulate it. With the search and query features you get various search commands to index the contents of JSON documents and Hashes.

Redis OM comes in four different versions. We'll be working with Redis OM for Node.js in this tutorial, but there are also flavors and tutorials for Python, .NET, and Spring.

This tutorial will get you started with Redis OM for Node.js, covering the basics. But if you want to dive deep into all of Redis OM's features, check out the README over on GitHub.

Rate this page