Connect to Redis server on ObjectRocket using WSL

Introduction Windows Subsystem for Linux, typically referred to as WSL, is a newer compatibility layer designed to run Linux binary executable files on Windows 10 operating systems and servers. WSL is an optional feature that can be enabled via the Windows Features dialog. WSL allows for running native Linux command-line tools alongside traditional Windows applications. … Continued

Redis HSET Data Type on ObjectRocket

Introduction Hashes provide database managers with an efficient and effective way of storing complex data types in Redis. In Redis, a hash consists of many key value pairs, with each key and value being composed of a data string. The Redis HSET command is used to set a field in a hash stored as a … Continued

How to connect PHP to a Redis instance on ObjectRocket

Introduction PHP, standing for hypertext preprocessor, is an open source scripting language that can easily be embedded into HTML, making it particularly suitable for web development application. Redis, an abbreviation for remote dictionary server, is considered one of the go-to software programs for structured data storing. The Redis program is an open-source key-value store, can … Continued

Filter Array Elements in MongoDB

Introduction If you’re using MongoDB to store and manage your data, you’ve probably noticed the database’s flexible document structure. In MongoDB, a field can have an array as a value. When you construct a MongoDB query, you may want to refine your results, filtering an array to return only specific elements. Fortunately, it’s easy to … Continued

Delete MongoDB Document

Introduction When you store and manage your data in MongoDB, there will be times when you need to delete one or more documents from a collection. Fortunately, this task is easy to accomplish with a simple command. In this article, we’ll show you how to delete a MongoDB document and provide examples that cover a … Continued

Add Element Array in MongoDB Document

Introduction Unlike a typical relational database, MongoDB has a flexible document structure in which a field can have an array as its value. It’s important to know how to manage data within these arrays. In this article, we’ll focus on the task of adding an element to an array. We’ll show you how to add … Continued

Update MongoDB Using Set Operator

Introduction When you’re working with data stored in MongoDB, there are many situations in which you’ll need to update the value of a field in a collection. For example, an employee may have been promoted to a new position, and that information needs to be updated in a MongoDB document. Perhaps a student moved to … Continued

Connecting Kotlin and MongoDB

Introduction If you’re working with the Kotlin programming language and you want your apps to interact with a MongoDB database, you’ll need to create the right connections between these two technologies. Fortunately, it only requires a few simple steps to accomplish this task. In this article, we’ll walk you through the process of connecting Kotlin … Continued

Guides on the Redis Zset and How to Use it

Introduction Redis provides DBAs, developers, and technical specialists with a variety of ways to save data and sort items. A few of these commands to use are lists, hashes, and sets. As you may know, sets resemble lists, except that with sets, hash tables are used to ensure that the strings in a set remain … Continued

How to Perform the Redis Flush All Command

Introduction This tutorial will explain how to perform the Redis Flush functions, specifically the Redis Flush All and Flush DB commands. The Redis Command Line Interface utility provides a simple command, used through the CLI, that will flush, or delete, all of the Redis keys on every database on a server. The FLUSH ALL command … Continued

Keep in the know!

Subscribe to our emails and we’ll let you know what’s going on at ObjectRocket. We hate spam and make it easy to unsubscribe.