Node.js

A Step Towards Simplified Querying in NodeJS

A Step Towards Simplified Querying in NodeJS

Recently I came across a question on stackoverflow regarding querying the data on relationship table using sequalize and I went into flashback with same situation and hence decided to write a blog over a better alternative Objection.js. When we choose ORM’s without looking into the use case we are tackling we usually end up with mess.

The question on stackoverflow was about converting the below query into sequalize query.

Understanding Node.js Async Flows: Parallel, Serial, Waterfall and Queues

Understanding Node.js Async Flows: Parallel, Serial, Waterfall and Queues

Promises in Javascript has been around since a long time now. It helped solve the problem of callback hell. But as soon as the requirements get complicated with control flows, promises start getting unmanageable and harder to work with.

This is where async flows come to the rescue. In this blog, lets talk about the various async flows used frequently over raw promises and callbacks.