Akshay Kadam
Oct 20, 2021 ⋅ 11 min read

An introduction to Prisma 2

Akshay Kadam Akshay is a creator, computer artist, and micropreneur from Mumbai. Find him on Twitter @deadcoder0904.

Recent posts:

Using CRDTs To Build Collaborative Rust Web Applications

Using CRDTs to build collaborative Rust web applications

CRDTs, or conflict-free replicated data types, is a concept that underlies applications facing the issue of data replication across a […]

Mario Zupan
Feb 23, 2024 ⋅ 15 min read
Guide to Using TensorFlow in Rust

Guide to using TensorFlow in Rust

We explore the fusion of TensorFlow and Rust, delving into how we can integrate these two technologies to build and train a neural network.

Rosario De Chiara
Feb 22, 2024 ⋅ 8 min read
Using Signaldb With React

Using SignalDB with React: A complete guide

SignalDB enables automatic data synchronization between your components and a local in-memory or persistent database.

Antonello Zanini
Feb 20, 2024 ⋅ 6 min read
Guide To Next Js Layouts And Nested Layouts

A guide to Next.js layouts and nested layouts

Understanding how layouts, nested layouts, and custom layouts work in Next.js is crucial for building complex, user-friendly projects.

Ibadehin Mojeed
Feb 19, 2024 ⋅ 12 min read
View all posts

3 Replies to "An introduction to Prisma 2"

  1. Hi! Does Prisma 2 work fine with MongoDB? Because there is nothing about it in the official docs, neither examples.

  2. This seeder function did not work for me at all.

    First :

    .finally(async () => {
    await prisma.disconnect()

    throws an error, in the current Prisma version. To solve this, run “await prisma.$disconnect()”

    Second, and that is more of my own use case, if you’re creating tables in your db in a loop, don’t use forEach but for .. of loop. My use case:

    for (const entity of entities) {
    await prisma.tableName.create({
    data: entity

    Every row has to be created asynchronously.

Leave a Reply