Hi, I'm creating records like this without a probl...
# prisma-client
r
Hi, I'm creating records like this without a problem, but when I want to delete them nothing happens.
Copy code
this.db[t].upsert({
      where: {
        guildId,
      },
      update: {
        channelId,
        content,
      },
      create: {
        guildId,
        channelId,
        content,
      },
    });



    this.db[t].delete({
      where: {
        guildId,
      },
    });
I'm trying my best to find the problem but it looks correct
I'm using prisma with mongo on node 17 database from mongodb atlas this.db is the PrismaClient
So I enabled debugging and it really does nothing, I placed a console log right before .delete it logs to console than nothing happens, no prisma logs
but upsert and findUnique works fine