Update with join with Drizzle
I am using
Is there a way to write ONE update query to set the
Or is two queries the standard way?
Postgres. Table Author has a 1 to 1 relations with table User. Author table has field userId that links to the primary key in the User table. Is there a way to write ONE update query to set the
penName field in the Author table, but return all fields from both the Author and the User tables. Right now I need to write two queriesOr is two queries the standard way?