MongoDB 4.0 トランザクション機能 ベストプラクティス

44 views
Skip to first unread message

Satoshi OKANO

unread,
Dec 20, 2018, 3:24:15 AM12/20/18
to mongo...@googlegroups.com
岡野です。

アドベントカレンダーの流れにのって、トランザクションを試してみました。

MongoDB 4.0 トランザクション機能 ベストプラクティス
https://qiita.com/kabao/items/ecc8e97b2995227f47e8

startTransactionとcommitTransactionを書くだけなら単純ですが
セッションやトランザクションのオプション、例外処理の書き方、Write Conflictなど
細かいポイントはいくつかあるかなという感じです。

参考になれば。

--
株式会社 野村総合研究所
生産革新ソリューション開発一部
岡野諭 (OKANO Satoshi)
Mail s-o...@nri.co.jp
090-7285-1510

--------------------------------------------------------------------
このメールには、本来の宛先の方のみに限定された機密情報が含まれている
場合がございます。お心あたりのない場合は、送信者にご連絡のうえ、
このメールを削除してくださいますようお願い申し上げます。

PLEASE READ: This e-mail is confidential and intended for
the named recipient only. If you are not an intended recipient,
please notify the sender and delete this e-mail.
--------------------------------------------------------------------

Reply all
Reply to author
Forward
0 new messages