---
title: "Discussion on \"How to Identify Database Relationships Before Writing a Single Line of Code\" | Hashnode"
description: "Discussion on \"How to Identify Database Relationships Before Writing a Single Line of Code\". Every relationship in a database comes down to three questions. Ask these for any two collections — users and videos, playlists and videos, users and"
url: "https://hashnode.com/posts/database-relationship/69ab2a8e0bca1a3976441c81"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Identify Database Relationships Before Writing a Single Line of Code](https://kanchannath.hashnode.dev/database-relationship?utm_source=hashnode&utm_medium=feed)

Every relationship in a database comes down to three questions. Ask these for any two collections — users and videos, playlists and videos, users and

Mar 6 · 8 min read · kanchannath.hashnode.dev  
Read the article

-   [#mongodb](https://hashnode.com/tag/mongodb)
-   [#relational-database](https://hashnode.com/tag/relational-database)
-   [#databases](https://hashnode.com/tag/databases)
-   [#node-js](https://hashnode.com/tag/node-js)
-   [#backend](https://hashnode.com/tag/backend)
-   [#data-structures](https://hashnode.com/tag/data-structures)

## Written by

[Kanchan Nath](https://hashnode.com/@kanchan-nath)

@kanchan-nath · India

  
[View profile](https://hashnode.com/@kanchan-nath)

Writing about backend development and what I learn along the way

Backend-focused web developer and engineering student.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
