Correction on point C. Consistency does not mean the data should not go below 0 in the "amount section". It means that if the account balance is 300, and I decrement by 100, and after the transaction if I read the balance, it should be 200 right away. There cannot be a delay of updation after the transaction ends and I made a read.
Hi there, what is the best practice to implement the database transactions? should it be implemented in database stored procedures or in the backend code?
Hi Denis, Typically databases support Transactions as part of update operations. We very rarely need to roll our own. For example, here's some documentation on Postgres transactions: www.postgresql.org/docs/8.3/tutorial-transactions.html Hope this helps
Correction on point C. Consistency does not mean the data should not go below 0 in the "amount section". It means that if the account balance is 300, and I decrement by 100, and after the transaction if I read the balance, it should be 200 right away. There cannot be a delay of updation after the transaction ends and I made a read.
ty for the clarification bro
Yes! A very good video. You have explained so much clearly with examples in less time. Satisfied & Subscribed.
thank you for this explanation. really easy to follow and a good pace.
Glad you enjoyed it!
wow, legend. now, i understood the TX, and that why is it important for all operations to be sucessul or none to be called TX.
One more 💎 on youtube, love the way you are explaining things...
Thank you so much 😀
i appreciate your work, explained Tx in very easy way ! thanks
You're very welcome Rohit!
Great explenation, no bs or padding the vide
superb video sir. tnqs a lot. love from india
Hey man great video
Awesome. Thank you.
You're welcome!
Nicely explained in short time
Thanks !
Thank you, this video was very helpful. :)
You're very welcome!
Thanks a lot
You're very welcome Luis!
Finished watching
This correspondence serves as confirmation of the successful transfer from the bank to your Visa/Mastercard card.
Brilliant!
Thanks Brian!
This serves as formal notification of the successful receipt of the BTC transaction.
Hi there, what is the best practice to implement the database transactions? should it be implemented in database stored procedures or in the backend code?
Hi Denis,
Typically databases support Transactions as part of update operations. We very rarely need to roll our own. For example, here's some documentation on Postgres transactions: www.postgresql.org/docs/8.3/tutorial-transactions.html
Hope this helps
thankyou
No problem!
This is a part of some playlist ?
safe bro
Sarcastically, oh, because transfers from banks to cards are always such a nail-biting affair, aren't they? But hey, it happened.
Finished watching