Feralheart
07/19/2021, 9:51 AMuser model where user.name and user.email are both unique ( @@unique([name, email])) and when I want to upsert with these two properties I got the following error:
Type '{ name: string; email: string; }' is not assignable to type 'UsersWhereUniqueInput'.
dpetrick
07/19/2021, 9:56 AMname_email: { name: ... email: ... }Feralheart
07/19/2021, 1:03 PM