QLDB Removing Document Updates when updating multiple documents within the same transaction.

0

I am commiting several updates to several documents within one transaction. I use the transaction id to the request those documents which have been updated.

If I commit an update with 3 changes to a single document it looks like it only creates a single document with last change reflected. I cannot force QLDB to record the changes as three separate document versions, which is what I want.

Is there some optimisation that happens on the updates Im sending or is there a way to force QLDB to create three versions of the document for each change. I want to track the changes individually, I dont want an optimised change?

Dan

asked 7 months ago192 views
1 Answer
0

Hello,

Thank you for using AWS QLDB.

QLDB records history per transaction. Anything executed between StartTransaction and CommitTransaction will have the same transactionId, hence users sees 1 history record. If the user would like to see multiple histories they can run multiple transactions in a QLDB session. [QLDB session lifecycle]

Hope my above response has helped and answered your query.

AWS
SUPPORT ENGINEER
answered 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions