0

我正在尝试将 SupaBase 与 Prisma 集成。当我尝试插入任何记录时,我收到以下错误

Error occurred during query execution:
ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Error { kind: Db, cause: Some(DbError { severity: "ERROR", parsed_severity: Some(Error), code: SqlState("08P01"), message: "bind message supplies 1 parameters, but prepared statement \"s1\" requires 2", detail: None, hint: None, position: None, where_: None, schema: None, table: None, column: None, datatype: None, constraint: None, file: Some("postgres.c"), line: Some(1697), routine: Some("exec_bind_message") }) }) })

我正在运行一个简单的 createMany 查询

await prisma.marketPlace.createMany({
                data: [
                    {
                        name: 'Harsh',
                    },
                    .........
                ],
            });
4

0 回答 0