Dan Calise
10/20/2022, 2:45 PM$queryRaw
does not work?
code: 'P2010',
clientVersion: '4.3.1',
meta: { code: 'N/A', message: 'N/A' },
I just get N/A for code/messageVladi Stevanovic
Vladi Stevanovic
Nurul
10/21/2022, 3:51 PMVladi Stevanovic
Dan Calise
10/26/2022, 3:34 PMconst league = await prisma.$queryRaw(
Prisma.sql`SELECT DatabaseCreationDate FROM LeagueGeneral`
);
Dan Calise
10/26/2022, 3:35 PMDan Calise
10/26/2022, 3:37 PMNurul
10/26/2022, 6:24 PMDan Calise
10/26/2022, 6:38 PMDan Calise
10/26/2022, 6:39 PMmodel LeagueGeneral {
LeagueYearOutput Int
OutputName String @id
OutputFileFormat String
LeagueOwner String
DatabaseCreationDate String
}
it’s a table with one single row. for the record I don’t own the database .. the schema is designed by some other developer and I cant make changes to it