How to Create and Drop a Database in MongoDB

Introduction If you are new to MongoDB, then you are probably going to start with a new database. Interesting fact: MongoDB doesn’t have a command to create a database. It’s “auto-magically” created the first time a value is saved into a collection. This article will show you how to create both a database and a … Continued

How to use PostgreSQL CUME_DIST Function

Introduction In this article we will learn about the PostgreSQL CUME_DIST Function and show some concrete code examples on its usage. Prerequisites Ensure that PostgreSQL server is properly installed, configured and running on the background. For Linux and Windows systems you can download PostgreSQL here To start PostgreSQL server use a LINUX machine use the … Continued

How to Use PostgreSQL PERCENT_RANK Function

Introduction In this article we will explain the PostgreSQL PERCENT_RANK Function and demonstrate how to use it in code. Prerequisites Ensure that PostgreSQL server is properly installed, configured and running on the background. For Linux and Windows systems you can download PostgreSQL here To start PostgreSQL server use a LINUX machine use the following command. … Continued

How to Manage PostgreSQL Triggers

Introduction In this article we will learn how to manage a PostgreSQL trigger including modifying and disabling trigger. A trigger in PostgreSQL is an operation or function that is called after an event happened. You could have a trigger occur after events such as an update or delete. Prerequisites Basic understanding on how to create … Continued

How to Build an Optical Character Recognition OCR App for an Elasticsearch Index using Python and Tesseract

Introduction to using Google’s Tesseract with Elasticsearch Python-Tesseract is an optical character recognition, or OCR, tool for Python designed to read text embedded in any image supported by the Leptonica and Pillow imaging libraries. This tutorial will explain how build an optical character recognition OCR Elasticsearch app with Python Tesseract software in Elasticsearch using the … Continued

Unique Check in MongoDB

Introduction Sometimes in MongoDB, we may need a field that should contain only unique values. That means duplicate values are not allowed for a particular field throughout the collection. Such situations can happen often. For example, suppose there is a database that contains the details about all the employees working in a particular field. Each … Continued

MongoDB Find and Distinct

Introduction One of the most important operations in any kind of database is retrieving data. Data can be retrieved all at once or filtered. MongoDB provides the find operation to retrieve data. The data is stored in documents, which in turn are stored in collections. By default, the find operation will retrieve all the documents … 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.