title: Transaction Management in nodejs with mysql
body: <p>I am working on nodejs with <strong>MySQL</strong>. I need to implement <strong>transaction management</strong> while inserting data in to multiple tables. So that I can <strong>rollback</strong> all insertions if any error occur. </p>
  
  <p>All DB related operations are declared in different classes of each entity in DB layer. In business logic layer on a single operation we may need to handle multiple db layer calls from different entity. In JAVA Spring We can simply <em>annotate</em> <strong>@Transaction</strong> on service layer. </p>
  
  <p>Is there anything like this in nodejs?</p>