You are not going to always return records from MongoDB but sometimes you need to perform some computations such as sum, count, average, etc. Here you need the aggregation operations which are used to process data that return the computed results. Therefore aggregation actually groups data from multiple documents and performs a variety of operations…

Posted in MongoDB

MongoDB Aggregation Operations

You may not want to fetch a whole bunch of data from the document which is stored in a collection in your MongoDB database. You can restrict the number of records or data using different conditions with the help of WHERE, AND, OR and IN operators, but what if you want to restrict the data…

Posted in MongoDB

MongoDB find() method with Projection

MongoDB is one of the most popular NoSQL database where data are stored in the form of documents. You can also create tables in traditional way to put your structured data but the main purpose is to store unstructured data in the form of object which may vary based on a particular requirement. Now when…

Posted in MongoDB

How to query documents – WHERE, AND, OR, IN conditions in MongoDB

MongoDB is one of the most popular NoSQL database where your data are stored in a collection. To quickly access your data from MongoDB you can execute commands on MongoDB shell and your results appear based on the given criteria. One of the commands is find() function and using this command you can easily retrieve…

Posted in MongoDB

How to make output of MongoDB’s find() readable in shell

Introduction Here you will see Codeigniter MongoDB CRUD example, where CRUD means Create, Read, Update and Delete. So basically you will perform creating new user, reading users/user, update existing user and deleting existing user operations into MongoDB. MongoDB¬†is one of the widely used NoSQL(Not only SQL) database in market today.¬†MongoDB is a document database with…

Posted in Codeigniter MongoDB PHP

Codeigniter 3 MongoDB 4 CRUD Example

Introduction Here we will see an example on WebSocket on Spring MongoDB Reactive Programming. In past we have see few examples on WebSocket but this example will use Spring WebFlux, i.e., WebSocket on Spring Reactive API. WebFlux includes reactive WebSocket client and server support. Both client and server are supported on the Java WebSocket API…

Posted in MongoDB Reactive Programming Spring WebFlux WebSocket

WebSocket on Spring MongoDB Reactive Programming

Introduction In this three pages post we will see how to create Spring MongoDB Functional Reactive Microservices Example. We are going to use here Spring 5’s Webflux API. We will also see here how to use Flux and Mono with ServerResponse, ServerRequest in Handler function. We will know how to use RequestPredicates in Router function…

Posted in Microservices MongoDB Reactive Programming Spring WebFlux

Spring MongoDB Functional Reactive Microservices Example

Introduction We will see here Spring Boot MongoDB Functional Reactive CRUD Example. We have seen our previous example on Spring Boot Functional Reactive Programming but we did not use any persistent storage like MongoDB but here we are going to use MongoDB for performing CRUD operations. We are going to use Spring 5’s Webflux API…

Posted in MongoDB Reactive Programming Spring WebFlux

Spring Boot MongoDB Functional Reactive CRUD Example

Introduction In this post I will show you how to configure PHP 7.3.5 and MongoDB 4.0.10 in Windows operating system. In my previous tutorial I had shown how to configure PHP 7.2.1 and MongoDB 3.6.4.

Posted in MongoDB PHP

Configure PHP 7.3.5 and MongoDB 4.0.10

Introduction In this post we will create Angular + Spring Boot MongoDB CRUD Example. In my previous tutorial on Spring Boot MongoDB CRUD Example, we did not have any UI or front-end, so we had to test out application using REST client but here we will use Angular on front-end side so that we can…

Posted in Angular MongoDB Spring Boot

Angular + Spring Boot MongoDB CRUD Example

Introduction In this post we will see Angualr + Python Flask REST API MongoDB CRUD Example. We will use our existing tutorial on Python Flask REST API MongoDB CRUD Example for server side and we will introduce Angular on UI or front end side. You can also use any UI technologies, such as React JS, HTML, JavaScript,…

Posted in Angular Flask MongoDB Python

Angular + Python Flask REST API MongoDB CRUD Example

Introduction Here we will see a post on Spring Boot MongoDB CRUD example, where CRUD means Create, Read, Update, and Delete operations. For performing CRUD operations on MongoDB through Spring Boot framework, we need to add required dependency. We will use Spring REST controller to expose our MongoDB CRUD operations onto REST or RESTful API….

Posted in MongoDB Spring Boot Spring REST

Spring Boot MongoDB CRUD Example