Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

prisma-graphql

“Property does not exist” when I want to use model added in Prisma.schema

April 12, 2024 by Tarik

I tried prisma generate and prisma migrate dev but was still having the same error. I had to restart VSCode and everything is working fine now

Categories next.js Tags next.js, prisma, prisma-graphql, prisma2 Leave a comment

How to upsert new record in Prisma without an ID?

April 6, 2024 by Tarik

The fields in where need to be unique. If you can make some field, let’s say date @unique (date: DateTime! @unique), and use that for your where in the upsert, I think it would work (tested on my local)

Categories node.js Tags node.js, prisma, prisma-graphql Leave a comment

prisma – getting environment variable not found error message when running graphql query

December 7, 2023 by Tarik

If anybody running into this issue, just run npx prisma generate. This will re-establish the link between schema.prisma and .env file.

Categories prisma Tags prisma, prisma-graphql Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa