Skip to content

Expose Transaction::GetWriteBatch to get batch information about the transaction #36

Description

@CMCDragonkai

Specification

The usage of Transaction::GetWriteBatch returns a map structure called WriteBatchWithIndex which can be used to interrogate what is inside a transaction.

The map structure can show us what is about to be committed in to the transaction. This can be useful for debugging.

To integrate this, we should start using shared pointers in C++ to make our GC a little easier. I'm not sure how that would work with the napi_ref reference counting.

Additional context

Tasks

  1. ...
  2. ...
  3. ...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions