---
title: "Divij Sehgal (@Divij2509) | Hashnode"
description: "Software Developer. Read the latest articles by Divij Sehgal on Hashnode."
url: "https://hashnode.com/@Divij2509"
---

@Divij2509

# Divij Sehgal

@Divij2509 · Punjab,IN · Joined November 2022

Software Developer

### [📚 Database Indexing: A Complete Guide](https://divijsehgal.hashnode.dev/database-indexing-a-complete-guide?utm_source=hashnode&utm_medium=feed)

Indexes are one of the most powerful tools in databases for speeding up queries.They work just like a book index – instead of reading every page, the database can jump directly to the relevant rows. 🔎 What is an Index? An index is a separate data s...

4 min read · [divijsehgal.hashnode.dev](https://divijsehgal.hashnode.dev/database-indexing-a-complete-guide?utm_source=hashnode&utm_medium=feed)

[Sep 29, 2025](https://hashnode.com/posts/database-indexing-a-complete-guide/68dacdf1bd7bc8b16372911b)

### [InfluxDB: A Comprehensive Guide](https://divijsehgal.hashnode.dev/influxdb-a-comprehensive-guide?utm_source=hashnode&utm_medium=feed)

Introduction In the ever-evolving landscape of data management, InfluxDB emerges as a powerful and flexible time-series database designed to handle the unique challenges of storing and querying time-stamped data. What is InfluxDB? InfluxDB is an open...

3 min read · [divijsehgal.hashnode.dev](https://divijsehgal.hashnode.dev/influxdb-a-comprehensive-guide?utm_source=hashnode&utm_medium=feed)

[Jan 10, 2024](https://hashnode.com/posts/influxdb-a-comprehensive-guide/659ec97c296cce88b5a5da35)

### [Inheritance vs Composition](https://divijsehgal.hashnode.dev/inheritance-vs-composition?utm_source=hashnode&utm_medium=feed)

Object-oriented programming (OOP) is a popular paradigm that encourages modular, reusable, and maintainable code. Two fundamental concepts within OOP are inheritance and composition. While both play crucial roles in designing software systems, they o...

3 min read · [divijsehgal.hashnode.dev](https://divijsehgal.hashnode.dev/inheritance-vs-composition?utm_source=hashnode&utm_medium=feed)

[Aug 10, 2023](https://hashnode.com/posts/inheritance-vs-composition/64d52af8e646c79002388b4d)

### [JavaScript Array Iteration: A Complete Guide](https://divijsehgal.hashnode.dev/javascript-array-iteration-a-complete-guide?utm_source=hashnode&utm_medium=feed)

Learn how to efficiently iterate arrays in JavaScript with examples. Master for loops, forEach, map, filter, reduce, and common use cases.

3 min read · [divijsehgal.hashnode.dev](https://divijsehgal.hashnode.dev/javascript-array-iteration-a-complete-guide?utm_source=hashnode&utm_medium=feed)

[Jul 20, 2023](https://hashnode.com/posts/javascript-array-iteration-a-complete-guide/64b90fc310321faa621426b0)

### [Choosing the Right API Framework: Comparing tRPC, gRPC, GraphQL, and REST](https://divijsehgal.hashnode.dev/choosing-the-right-api-framework-comparing-trpc-grpc-graphql-and-rest?utm_source=hashnode&utm_medium=feed)

Discover the ideal API framework for your project. Compare tRPC, gRPC, GraphQL, and REST to make informed decisions and build scalable applications.

7 min read · [divijsehgal.hashnode.dev](https://divijsehgal.hashnode.dev/choosing-the-right-api-framework-comparing-trpc-grpc-graphql-and-rest?utm_source=hashnode&utm_medium=feed)

[Jul 17, 2023](https://hashnode.com/posts/choosing-the-right-api-framework-comparing-trpc-grpc-graphql-and-rest/64b5117532c50afaa5afbcd4)
