The CursorConfig type exposes the following members.

Fields

  NameDescription
IsolationDegree
The isolation degree the cursor should use.
Priority
The cache priority for pages referenced by the cursor.
SnapshotIsolation

Configure a transactional cursor to operate with read-only snapshot isolation. For databases with UseMVCC set, data values will be read as they are when the cursor is opened, without taking read locks.

This setting implicitly begins a transaction that is committed when the cursor is closed.

This setting is silently ignored if UseMVCC is not set on the underlying database or if a transaction is supplied to Cursor()()()

WriteCursor
If true, specify that the cursor will be used to update the database. The underlying database environment must have been opened with UseCDB set.

See Also