#2394·nakama

[Feature Request] Add Variants of Storage API that accept passed in db.Tx

Author: Zhennan-XuCreated Sep 26, 2025Updated Jun 5, 2026

When writing complex custom rpcs, it is often desired to have control over the db transaction lifecycle. The storage APIs however start their own transaction; to avoid isolation issues, it would be ideal if the storage APIs could have additional variants that accept a pre-existing transaction.

relevant post: https://forum.heroiclabs.com/t/feature-request-add-variants-of-storage-api-that-accept-passed-in-db-tx/426