PureCode Software interview question

How do you handle database transactions in Node.js?