tx().config().option()

How to specify a transaction-wide option.

Synopsis

tx().config().option(option).open()

Description

Examples

Change the value of allow_scan for a transaction. The effect of this change is to allow all commands executed in the gremlin-console on a particular node to do full graph scans, even if the consistency level for the cluster is not QUORUM, the value required to change this option in the appropriate system table.
graph.tx().config().option("allow_scan", true).open()
Note that the previous transaction (automatically opened in gremlin-console or Studio) must be committed before the new configuration option value is set.