Modify relation on update

.
2 Replies
drainpixie
drainpixieOP3w ago
Hello, I was wondering, are the relations updated when I run, e.g. <Database>.update(schema).set(...).where(...).execute(); Mostly asking because I'm not sure if there's a flaw within my logic or if I'm supposed to make a separate query My use case is that I have a one-to-many relationship between a client and a sheet, but I want to be able to change the client's phone number for a single sheet without changing it for all clients ifykwim
Angelelz
Angelelz3w ago
I'm not sure I understand. Is the phone number the connecting field between client and sheet?
Want results from more Discord servers?
Add your server