is it possible to insert into foreign tables via r...
# help
p
is it possible to insert into foreign tables via relation?
n
Hello @Prodigy7kX! This thread has been automatically created from your message in #843999948717555735 a ``few seconds ago``. Pinging @User so that they see this as well! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates. Want to change the title? Use the
/title
command! We have solved your problem? Click the button below to archive it.
g
Can your explain a bit more what you are trying to do? If you mean can you do a JS/API insert that includes foreign table data with the "main" table insert... no.
n
Prodigy7kX (2022-03-18)
p
yeah, thats what i meant, thank you tho
g
Best bet is to use an rpc call and postgres function if you don't want to do multiple calls AND want it done automatically as a transaction.
p
thanks for the tip
n
Thread was archived by @Prodigy7kX. Anyone can send a message to unarchive it.