knex transaction update with two tables
I have two table dues and souvenirs haveing a similar column std_id. I want to update both of them using transaction but my code returns 1. db.transaction((trx) => { return….
I have two table dues and souvenirs haveing a similar column std_id. I want to update both of them using transaction but my code returns 1. db.transaction((trx) => { return….