Oluwasetemi Ojo
07/15/2021, 12:20 PMArun Kumar
07/15/2021, 12:48 PMmigrate deploy
command doesn't rely on the schema file for migrations. From where does it fetch the DB URL?jignesh karamchandani
07/15/2021, 1:49 PMAlex Vilchis
07/15/2021, 2:05 PMcreateMany
call. As you can see, the data that I pass to it are careers with unique names, so the message doesn't make sense to me 😕
I'll attach the relevant schema portions in this thread. Thanks!Sai Diddigam
07/15/2021, 2:45 PMTyler Storm
07/15/2021, 2:56 PMAman Tiwari
07/15/2021, 4:33 PMOluwasetemi Ojo
07/15/2021, 8:20 PMOluwasetemi Ojo
07/15/2021, 8:22 PMNour Elba
07/15/2021, 9:06 PMJon Deibel
07/15/2021, 11:33 PMJon Deibel
07/15/2021, 11:34 PMJon Deibel
07/15/2021, 11:34 PMKent C. Dodds
07/16/2021, 12:28 AMIan
07/16/2021, 5:44 AMFROM shipments S
INNER JOIN products P ON S.productId = P.productID
LEFT OUTER JOIN customers C ON S.companyId = C.customerId AND S.ShipmentType = 'export'
LEFT OUTER JOIN suppliers SP ON S.companyId = SP.supplierId AND S.ShipmentType = 'import'
Ian
07/16/2021, 5:44 AMHow to achieve this type of join in prisma? Where the join is conditional? Only execute the join depends on the parent type... So there's no useless join lookup because you know no value will ever be there because of table type
Ian
07/16/2021, 5:44 AMIan
07/16/2021, 5:52 AMFROM posts
INNER JOIN like ON posts.id = likes.postId
LEFT JOIN votes ON posts.id = votes.id AND posts.type = 'poll'
LEFT JOIN answers ON posts.id = answers.id AND posts.type = 'questions'
Ian
07/16/2021, 5:54 AMHere only execute join for votes if posts.type = 'poll'
Here only execute join for answers if posts.type = 'questions'
So we dont waste join look up for votes if the post type is questions
Vaughn Melson
07/16/2021, 5:57 AMuser
07/16/2021, 9:10 AMuser
07/16/2021, 9:10 AMuser
07/16/2021, 9:10 AMuser
07/16/2021, 9:10 AMSwapnull
07/16/2021, 9:45 AMdb.users.findMany…
type requests.
Does anybody know if something like this exists? I have searched the slack and docs but can’t find reference to anything, so hoping for a community project or something.ElectricReality
07/16/2021, 9:57 AMTransactions are not supported by this deployment error
. As per docs, i followed the instructions provided by the mongodb documentation on starting replicasets.user
07/16/2021, 10:55 AMLionel Okpeicha
07/16/2021, 2:29 PMMichael Madsen
07/16/2021, 3:36 PMnexus-prisma
Just a little lost on what I'm missing and need some help.