prilutskiy
04/24/2019, 10:17 AMupsert
? I see there are two fields inside: create
and update
. I expected upsert to receive just an object for upadting, or for creating if id is emptyprilutskiy
04/24/2019, 10:19 AMJohn Kueh
04/28/2019, 11:22 PMSuneeth Lenin
06/09/2019, 2:36 PMSuneeth Lenin
06/10/2019, 2:50 AMdany
06/13/2019, 7:15 AMdany
06/13/2019, 7:15 AMdany
06/13/2019, 7:16 AMprisma.createModel({enumField: 'ENUM_FIELD'})
Marwan Rabbâa
07/01/2019, 11:31 AMprisma
?Stefan Schneider
07/01/2019, 6:42 PMAndrew O.
07/02/2019, 7:59 PMAndrew O.
07/03/2019, 5:34 PMAndrew O.
07/03/2019, 5:35 PMAndrew O.
07/03/2019, 5:37 PMAndrew O.
07/03/2019, 5:37 PMSohail Khan
07/09/2019, 8:46 AMSaket
07/25/2019, 4:31 AMtafelito
08/14/2019, 5:10 PMBiel Simon
08/30/2019, 4:35 AMdeactivateduser
09/05/2019, 6:55 PMdeactivateduser
09/05/2019, 9:32 PMprisma.upsertItem
function. What is the correct data type? I assumed it should be Promise<ItemPromise>
but it is not working, neither is Promise<Item>
yishengdd
09/15/2019, 4:19 PMSpencer Gardner
09/21/2019, 12:16 AMprisma-schema
autogenerated file is? It looks like it contains a bunch of queries and mutations that are intended to talk to the prisma service. Are they purely intended to do this, or are they also intended to be expose to a consuming service to use (such as a React app). I imagine that you would probably want to write your own queries and mutations that build off of prisma-schema
, but would like some insight here.Fransjo Leihitu
10/07/2019, 5:28 PMSpencer Gardner
10/14/2019, 7:25 PMSpencer Gardner
10/14/2019, 7:27 PMtype Fruit {
size: Int!
owner: Human!
}
Spencer Gardner
10/14/2019, 7:27 PMsize
back, but not the owner, when I use something like await prisma.fruit({id...)
Spencer Gardner
10/14/2019, 7:37 PMprisma.fruit({id...}).owner
and tack the result on to the original query for fruit
, but this seems pretty inefficientSpencer Gardner
10/18/2019, 4:35 PM