i get an error like this, When running `findMany`...
# orm-help
p
i get an error like this, When running
findMany
export const docs = () => {
return db.doc.findMany()
}
schema:
model Doc {
id Int @id @default(autoincrement())
docable_type String
docable_id Int
file String
created_by Int
updated_by Int
deleted_at DateTime?
created_at DateTime? @default(now())
updated_at DateTime? @updatedAt
title String?
tenant Tenant? @relation(fields: [tenant_id], references: [id])
tenant_id Int?
@@map("docs")
}
Have a solution for this?