jon.m
08/15/2021, 3:52 PMScott P
08/15/2021, 4:01 PMRETURNING
keyword to get data back from the query.
Example: https://stackoverflow.com/questions/6560447/can-i-use-return-value-of-insert-returning-in-another-insert
Another example: https://lornajane.net/posts/2016/the-returning-keyword-in-postgresql
Docs: https://www.postgresql.org/docs/9.5/sql-insert.html
I'm not sure how you'd write that if you're using the library to upsert the datajon.m
08/15/2021, 4:54 PMjon.m
08/15/2021, 4:54 PM