---
title: "Discussion on \"How to setup prisma to use two different databases in nestjs\" | Hashnode"
description: "Discussion on \"How to setup prisma to use two different databases in nestjs\". As the complexity of modern web applications grows, so does the need for scalable and robust database solutions. Prisma makes database access easier by generating a type-safe client for your database, allowing you to easily query and manipulate data...."
url: "https://hashnode.com/posts/how-to-setup-prisma-to-use-two-different-databases-in-nestjs/642764c771c766aafa21185e"
---

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

Discussion

# [How to setup prisma to use two different databases in nestjs](https://tsegsxaviers.hashnode.dev/how-to-setup-prisma-to-use-two-different-databases-in-nestjs?utm_source=hashnode&utm_medium=feed)

As the complexity of modern web applications grows, so does the need for scalable and robust database solutions. Prisma makes database access easier by generating a type-safe client for your database, allowing you to easily query and manipulate data....

Mar 31, 2023 · 14 min read · tsegsxaviers.hashnode.dev  
Updated May 26, 2023  
Read the article

-   [#prisma](https://hashnode.com/tag/prisma)
-   [#databases](https://hashnode.com/tag/databases)
-   [#mongodb](https://hashnode.com/tag/mongodb)
-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#nestjs](https://hashnode.com/tag/nestjs)

## Written by

[Joseph Tsegen](https://hashnode.com/@xavier577)

@xavier577 · Lagos, Nigeria

  
[View profile](https://hashnode.com/@xavier577)

I read, I code, I blog

Tech enthusiast | Full Stack Developer | Software Engineer. Learning about web development and general programming. Looking to learning new things and meeting new people.

## Responses 3

Markdown supported · ⌘↵ to post

[Bruce Char](https://hashnode.com/@BruceChar)

[Aug 8, 2024](https://hashnode.com/posts/how-to-setup-prisma-to-use-two-different-databases-in-nestjs/642764c771c766aafa21185e/comment/66b48e9628773112910257c6)

awesome man! it is what I need!!!

[Joseph Tsegen](https://hashnode.com/@xavier577)

[May 26, 2023](https://hashnode.com/posts/how-to-setup-prisma-to-use-two-different-databases-in-nestjs/642764c771c766aafa21185e/comment/6470772a9668d67eeed11280)

Thank you very much for bring that to my notice

[Nodirbek Ergashev](https://hashnode.com/@nodirshox)

[May 26, 2023](https://hashnode.com/posts/how-to-setup-prisma-to-use-two-different-databases-in-nestjs/642764c771c766aafa21185e/comment/647047f69668d67eeed10a12)

Typo in title of article: prima -> prisma
