I am trying to retrieve the full record I have cha...
# orm-help
f
I am trying to retrieve the full record I have changed with an
update
call, is it possible to do some sort of
select: { all }
instead of manually selecting each field like this?
Copy code
select: {
          id: true,
          name: true,
          street: true,
          zipCode: true,
          city: true,
          person: true,
          email: true,
          telNr: true,
          faxNr: true,
        },
1
a
Hey there!
update
should return all model fields by default. Is this not the case for you?
f
@Austin You are right, for some reason when I tested this two days ago it didn’t, but that was before making a couple more changes so there must’ve been an error on my end, thanks for the Help :)
🚀 1