KJReactor
09/21/2020, 2:10 PMconnectOrCreate
but I don't want to create and the fields I'm searching on are not uniqueRyan
09/21/2020, 2:11 PMKJReactor
09/21/2020, 2:21 PMUser
, Product
, Manufacturer
and the relations are as
User
1:1 Product
Product
M:1 Manufacturer
.
Products and Manufacturers already exist so upon creating a new User
, I want to connect to a specific Product
which in turn has a Manufacturer
given a field that is not uniqueRyan
09/21/2020, 2:24 PMProduct
first using findMany
as you do not have a unique field and then connect to the User
.KJReactor
09/21/2020, 2:32 PM