The "Adapter Pattern" is a structural pattern where the interface of one class is translated into another. This pattern allows classes work together that could not otherwise, because of incompatible interfaces.
This post is an example of why in most of the queries that include some sort of equality, range, and sorting, the way you are building your indexes matters.
I have added the solution with the explanation in code comments for the Repeated String problem.
Posted on August 1st, 2020 in NodeJS by George
In this tutorial, we are going to create a 4 stages pipeline using the aggregation framework provided by MongoDB.
Posted on July 19th, 2020 in NodeJS by George
Today I was browsing around to find some useful tools for my next react project. I came across https://www.npmjs.com/package/react-use.
This library is absolutely amazing to use inside your react hooks based application.
Let me show you why.
Without further ado, let's dive in.
Posted on June 27th, 2020 in MySQL, NodeJS by George
SQL query examples for vertical and horizontal orientated data.
Posted on May 25th, 2020 in MySQL by George
While I am learning MySQL I cam across subqueries and thought this matter deserves an article. Enjoy.
Posted on May 24th, 2020 in PhP, Miscellaneous by George
Step by step tutorial to fix this issue.
MySql Public Key Retrieval is not allowed