tylim
01/14/2019, 7:59 AM// Update name of a specific user and retrieve the `id`
prisma.mutation.updateUser({ where: { id: 'abc' }, data: { name: 'Sarah' } }, '{ id }')
this is example i found on prisma binding how to query single field of database(not sure i worded it correct or not)
how it works, is it query all fields then filter it out or is it query only that field?marcus
01/14/2019, 8:25 AM