I'm trying to learn the details of transaction management from here:
https://docs.yottadb.com/ProgrammersGuide/langfeat.html#transaction-processing
This is my question: Is there every any point in using transactions for code that only READS the database?
That is, enclosing code that only reads from globals in tstart and tcommit.
If so, when is it appropriate?
The documentation seems to say that even code that runs without a transaction will only every read the finished result of writes from a transaction. This vaguely suggests that reads don't need transactions.
I could imagine the following use for transactions for read operations (although I have no idea if this is how it works): To read a snapshot of the database, without seeing ANY updates after the execution of tstart.
Is this what will happen? Or is there no effect at all?