mdb_cursor_txn function

Pointer<MDB_txn> mdb_cursor_txn(
  1. Pointer<MDB_cursor> cursor
)

@brief Return the cursor's transaction handle.

@paramin cursor A cursor handle returned by #mdb_cursor_open()

Implementation

@ffi.FfiNative<ffi.Pointer<MDB_txn> Function(ffi.Pointer<MDB_cursor>)>(
    'mdb_cursor_txn')
external ffi.Pointer<MDB_txn> mdb_cursor_txn(
  ffi.Pointer<MDB_cursor> cursor,
);